简体   繁体   English

Anaconda下的CX_Oracle for python未安装

[英]CX_Oracle for python, under Anaconda is not installing

Anaconda keeps telling me that cx_oracle needs python 3.4. Anaconda一直告诉我cx_oracle需要python 3.4。

My conda version is 4.3.17 我的conda版本是4.3.17

This is after I used the cx_Oracle-5.3-11g.win-amd64-py3.5-2.exe installer. 这是在我使用cx_Oracle-5.3-11g.win-amd64-py3.5-2.exe安装程序之后。 which is supposed to be used for Python 3.5. 应该用于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.

I'm doing something stupid, but I'm not sure what. 我在做一些愚蠢的事情,但是我不确定。 yet. 然而。 ideas? 想法? hints? 提示?

The error's telling you that the cx_oracle package you're trying to install depends on Python 3.4 b/c that's the currently available build of cx_oracle on the anaconda channel. 该错误告诉您您要安装的cx_oracle软件包取决于Python 3.4 b / c,这是anaconda通道上cx_oracle的当前可用版本。

If you search for cx_oracle on anaconda.org, you'll see a list of available builds on several other channels, and can look for one that meets your reqs (namely v5.2, Python 3.5, win64). 如果在anaconda.org上搜索cx_oracle ,则会在其他几个渠道上看到可用构建的列表,并且可以查找满足您要求的版本(即v5.2,Python 3.5,win64)。 Doesn't look like there's one that meets that exact set of reqs, but there are a few v5.21 & v5.3 builds available. 看起来好像没有一个可以满足确切的要求,但是有一些v5.21和v5.3版本可用。 If that's close enough, then installing from say, the amodig channel may get you going: conda install -c amodig cx_oracle=5.2.1 如果距离足够近,那么从头开始安装,那么amodig频道可能会帮助您: conda install -c amodig cx_oracle=5.2.1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM