Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)

When I tried to produce a conda python environment with python=3.5.2, I am getting the below errors.

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 Answer

0 votes
by (107k points)

It seems like only some versions (3.5.4, 3.5.5, and 3.5.6) are present on the main/win-64 index of the anaconda channel. 

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

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

Begin your Python career with the perfect Python Course.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...