Install python enviroment python=3.5.2

血红的双手。 提交于 2020-08-10 22:53:09

问题


I tried to create a conda python environment with python=3.5.2 and get bellows errors.

  1. How can i add a custom link for installation ? e.g. 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. Collecting package metadata (repodata.json): done Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • python=3.5.2

Current channels:

  • https://repo.anaconda.com/pkgs/main/win-64
  • https://repo.anaconda.com/pkgs/main/noarch
  • https://repo.anaconda.com/pkgs/r/win-64
  • https://repo.anaconda.com/pkgs/r/noarch
  • https://repo.anaconda.com/pkgs/msys2/win-64
  • https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.


回答1:


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. I am not sure why they removed previous versions of 3.5.

You can switch channels to conda-forge, which still has all of the versions available.

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.



来源:https://stackoverflow.com/questions/57768688/install-python-enviroment-python-3-5-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!