我已经在 Anaconda python 中使用我的 Windows 64 位机器上的 conda 骨架命令安装了包 cx_Oracle
conda 骨架 pypi cx_Oracle
cx_Oracle 的 af5f7daad67d6820670d582dfc045/cx_Oracle-6.0rc1.tar.gz (200 KB)。
下载 cx_Oracle
使用缓存下载
正在解压 cx_Oracle...
完毕
当我检查文件/目录最终设置时,我在那里看到
File "C:\Anaconda3_version4.3\lib\site-packages\conda_build\skeletons\pypi.py", line 339, in skeletonize
raise RuntimeError("directory already exists: %s" % dir_path)
RuntimeError: directory already exists: .\cx_oracle
但是当我调用它时,它找不到
import cx_oracle
Traceback (most recent call last):
File "<ipython-input-3-fa7af752f8a0>", line 1, in <module>
import cx_oracle
ModuleNotFoundError: No module named 'cx_oracle'
cx_Oracle 的目录包含文件,并且知道我需要使用 conda build 构建包:
conda build cx_Oracle
就这样,还是不行
为我提供以下错误:
Anaconda3_version4.3\conda-bld\cx_oracle_1499164
353203\_b_env\Library\include /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.6\Rel
ease\src/cx_Oracle.obj -DBUILD_VERSION=6.0rc1
error: command 'cl.exe' failed: No such file or directory
我不明白最终安装软件包还需要什么
谢谢阅读。