Anaconda CDH Parcel将Python升级到3.5
我目前使用Python 2.7的Anaconda CDH parcel。我想将其升级到Python 3.5。Anaconda CDH Parcel将Python升级到3.5
我发现一些教程指出可以使用这个命令conda install python=3.5
来升级Python版本。但是,运行此命令时发现了以下错误。
[[email protected] ~]# conda install python=3.5 Fetching package metadata ...Could not connect to https://repo.continuum.io/pkgs/free/linux-64/
Could not connect to https://repo.continuum.io/pkgs/pro/linux-64/...
Could not connect to https://repo.continuum.io/pkgs/free/noarch/
Could not connect to https://repo.continuum.io/pkgs/pro/noarch/...
Solving package specifications: ....
The following specifications were found to be in conflict:
- enum34 -> python 2.6*|2.7*|3.3*
- python 3.5*
Use "conda info <package>" to see the dependencies for each package.
我想问问这是否与主机的网络约束或包问题有关。
在此先感谢。
最好的问候, 拉赫蒂
回答:
错误是说enum34不会与python3.5工作。 尝试命令:
conda info enum34
回答:
试试这个conda create -n py35 python=3.5
更多的参考,下面的链接
https://www.continuum.io/blog/developer/python-35-support-anaconda
以上是 Anaconda CDH Parcel将Python升级到3.5 的全部内容, 来源链接: utcz.com/qa/265982.html