我尝试为 django 项目 sdu.edu.kz 安装 python 依赖项。本项目使用 cx-Oracle。当我尝试:
./install_python_dependencies.sh install
Run Code Online (Sandbox Code Playgroud)
它成功安装了除一个模块之外的所有模块。cx-Oracle 的模块。但是,我在我的计算机上安装了 cx-Oracle 程序。
它打印错误:
Collecting cx-oracle==5.2 (from -r requirements/base.txt (line 82))
Using cached cx_Oracle-5.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-RP7c9i/cx-oracle/setup.py", line 170, in <module>
raise DistutilsSetupError("cannot locate an Oracle software " \
distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip build-RP7c9i/cx-oracle/
Run Code Online (Sandbox Code Playgroud)
如何找到 Oracle 软件安装?有任何想法吗?请帮忙