【问题标题】:CX_Oracle for python, under Anaconda is not installingCX_Oracle for python,Anaconda下没有安装
【发布时间】:2017-05-13 13:00:23
【问题描述】:

Anaconda 一直告诉我 cx_oracle 需要 python 3.4。

我的 conda 版本是 4.3.17

这是在我使用 cx_Oracle-5.3-11g.win-amd64-py3.5-2.exe 安装程序之后。它应该用于 Python 3.5。

conda install -c anaconda cx_oracle=5.2
Fetching package metadata ...............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- cx_oracle 5.2* -> python 3.4*
- python 3.5*
Use "conda info <package>" to see the dependencies for each package.

我正在做一些愚蠢的事情,但我不确定是什么。然而。 想法? 提示?

【问题讨论】:

    标签: python anaconda cx-oracle


    【解决方案1】:

    错误告诉您,您尝试安装的 cx_oracle 软件包依赖于 Python 3.4 b/c,这是 anaconda 频道上当前可用的 cx_oracle 版本。

    如果您在 anaconda.org 上search for cx_oracle,您将在其他几个频道上看到可用构建的列表,并且可以寻找符合您要求的版本(即 v5.2、Python 3.5、win64)。看起来没有一个满足 exact 组要求,但有一些 v5.21 和 v5.3 版本可用。如果这足够接近,那么从 amodig 频道安装可能会让你继续前进:conda install -c amodig cx_oracle=5.2.1

    【讨论】:

      猜你喜欢
      • 2016-04-10
      • 2011-05-17
      • 2017-02-16
      • 2015-09-01
      • 1970-01-01
      • 2019-05-19
      • 2018-03-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多