【问题标题】:cx_oracle on Python 3.5 in a RedHat based environment?基于 RedHat 的环境中 Python 3.5 上的 cx_oracle?
【发布时间】:2017-01-26 07:51:16
【问题描述】:

在 Python 包索引的 cx_oracle 下载页面上,我看到了 Windows 和 Linux 版本的 cx_oracle。 https://pypi.python.org/pypi/cx_Oracle

但是,我只看到适用于 Windows 的 Python 3.5 版本。

是否可以在带有 cx_oracle 的基于 RedHat 的 Linux 发行版上使用 Python 3.5?如果是这样,怎么做?如果没有,还有哪些可用的库可以在基于 RedHat 的 Linux 发行版上使用 Python 3.5 和 Oracle 11.2?

【问题讨论】:

  • 你不能试试pip install cx_Oracle吗?

标签: python linux oracle cx-oracle


【解决方案1】:

我会尝试从源代码构建它。我将它与作为 RedHat 变体的 Oracle Enterprise Linux 7.3 一起使用。但我将它与 Python 2.7 一起使用。尽管如此,我还是从源代码构建了 cx_Oracle,这对我有用。为什么不用 Python 3.5 试试呢?

请注意,在安装 cx_Oracle 之前,您需要安装 Oracle 客户端。

鲍比

【讨论】:

  • 我会试一试并报告。
猜你喜欢
  • 2016-03-14
  • 2015-09-09
  • 2015-05-15
  • 2017-02-14
  • 1970-01-01
  • 2018-07-02
  • 1970-01-01
  • 2019-10-01
  • 1970-01-01
相关资源
最近更新 更多