简体   繁体   English

安装python环境python = 3.5.2

[英]Install python enviroment python=3.5.2

I tried to create a conda python environment with python=3.5.2 and get bellows errors. 我试图用python = 3.5.2创建一个conda python环境,并得到波纹管错误。

  1. How can i add a custom link for installation ? 如何添加自定义链接进行安装? eg https://anaconda.org/anaconda/python/3.5.2/download/win-64/python-3.5.2-0.tar.bz2 例如https://anaconda.org/anaconda/python/3.5.2/download/win-64/python-3.5.2-0.tar.bz2

conda create -n eapp_env python=3.5.2

Collecting package metadata (current_repodata.json): done Solving environment: failed with current_repodata.json, will retry with next repodata source. 收集软件包元数据(current_repodata.json):完成解决环境:失败,显示current_repodata.json,将重试下一个repodata源。 Collecting package metadata (repodata.json): done Solving environment: failed 收集软件包元数据(repodata.json):完成解决环境:失败

PackagesNotFoundError: The following packages are not available from current channels: PackagesNotFoundError:当前频道不提供以下软件包:

  • python=3.5.2 蟒= 3.5.2

Current channels: 当前频道:

To search for alternate channels that may provide the conda package you're looking for, navigate to 要搜索可能提供您所需的conda软件包的备用渠道,请导航至

 https://anaconda.org 

and use the search bar at the top of the page. 并使用页面顶部的搜索栏。

It looks like only 3.5.4, 3.5.5, and 3.5.6 are available on the main/win-64 index of the anaconda channel. 蟒蛇通道的main / win-64索引上似乎只有3.5.4、3.5.5和3.5.6可用。 I am not sure why they removed previous versions of 3.5. 我不确定为什么他们删除了3.5以前的版本。

You can switch channels to conda-forge, which still has all of the versions available. 您可以将通道切换到conda-forge,它仍然具有所有可用的版本。

conda create -n eapp_env python=3.5.2 --channel conda-forge

Just as an FYI typically the sub-sub-version of a package only has minor updates and will not affect anything else in your environment. 就像FYI通常一样,程序包的子子版本仅具有较小的更新,不会影响您环境中的其他任何内容。

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

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