win7(64位) 环境,Python开发,Oracle安装
工具/原料
1
Python版本:python-2.7.11.amd64.msi
2
Oracle:win64_11gR2_client
3
cx_oracle依赖包:VCForPython27
方法/步骤
1
安装Python-2.7
2
查看是否安装成功,如果不成功,则配置环境变量PATH:CMD命令窗口-》pip
3
安装IDE开发环境;vs2013中安装Python工具也可以:pip成功后 --》pip install Spyder
5
之后安装数据库 :--》pip install cx_Oracle ----失败: (1)安装win64_11gR2_client ----注意查看环境变量C:\app\client\Administrator\product\11.2.0\client_1; (2)再安装VCForPython27 (3)之后--》pip install cx_Oracle (4)尝试--》import cx_Oracle ------>如果没有错误,则成功安装数据库 (5)否则查看环境变量--》path --->添加C:\app\client\Administrator\product\11.2.0\client_1\bin;
上一篇:如何经营一家蛋糕店?
下一篇:做场景蛋糕的作法