我已经为Windows 64位安装了Anaconda 3.5,我需要使用软件包"cx_Oracle"连接到Oracle数据库.
我尝试使用anaconda方式:
conda install -c https://conda.anaconda.org/anaconda cx_oracle
以下错误消息:
Hint: the following packages conflict with each other: - cx_oracle - python 3.5* Use 'conda info cx_oracle' etc. to see the dependencies for each package. Note that the following features are enabled: - vc14
似乎cx_oracle与Python 3.5不兼容.
在此之后,我还尝试直接使用二进制文件安装:
python setup.py install
它抛出了一堆错误,如:
cx_Oracle.obj : error LNK2001: unresolved external symbol OCILobGetChunkSize cx_Oracle.obj : error LNK2001: unresolved external symbol OCIStmtExecute cx_Oracle.obj : error LNK2001: unresolved external symbol OCILobFileClose
有没有办法为Anaconda 3.5安装cx_oracle?