gpt4 book ai didi

python - 在基于 RedHat 的环境中,Python 3.5 上的 cx_oracle?

转载 作者:太空宇宙 更新时间:2023-11-04 10:25:20 25 4
gpt4 key购买 nike

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

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

是否可以在基于 RedHat 的 Linux 发行版上使用 Python 3.5 和 cx_oracle?如果是这样,如何?如果不能,还有哪些其他可用库可以在基于 RedHat 的 Linux 发行版上使用 Python 3.5 和 Oracle 11.2?

最佳答案

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

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

鲍比

关于python - 在基于 RedHat 的环境中,Python 3.5 上的 cx_oracle?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41863715/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com