小编zsh*_*bek的帖子

为什么 Ubuntu 显示的 RAM 比我的计算机内置的略少?

我机器的内存是 8 GB。我最近安装了 Ubuntu 17.04。

为什么 Ubuntu 显示它只有 7.7 GB 而不是完整的 8 GB?

关于这台电脑

ram

17
推荐指数
2
解决办法
7942
查看次数

Ubuntu 中的 cx_Oracle:distutils.errors.DistutilsSetupError:找不到 Oracle 软件安装

我尝试为 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 软件安装?有任何想法吗?请帮忙

python oracle python-2.7

5
推荐指数
1
解决办法
4881
查看次数

标签 统计

oracle ×1

python ×1

python-2.7 ×1

ram ×1