phenomenon
Creating a python 2 environment using minicanda3
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from 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=2.7
Current channels:
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/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.
Cause location
Python 2 official has stopped maintenance and updating.
There are no python2 related packages in the official warehouse
CONDA default channel failed to retrieve python2 7 lead
Solution:
From the configuration of anaconda2, find the available channels: https://repo.continuum.io/pkgs/free/osx-64
Specify the channel URL to update the environment
conda create -c 'https://repo.continuum.io/pkgs/free/osx-64' -n py2 python=2.7
Similar Posts:
- How to Solve PackagesNotFoundError: The following packages are not available from current channels
- Conda Install Library Error: failed with initial frozen solve. Retrying with flexible solve.
- Anaconda establishes a new environment, and condahttpererror: http 000 connection failed for URL… Solution process appears
- Solving the problem of “solving environment: failed” of CONDA
- Solving the problem of “solving environment: failed” of CONDA
- How to Solve Conda Error: An HTTP error occurred when trying to retrieve this URL.
- How to Solve Anaconda Error: PackageNotFoundError: Package not found: ” Package missing in current win-64 channels
- Tensorflow Warning: cona The environment is inconsistent, please check the package plan carefully
- [Solved] CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- How to Solve Anaconda Error (Three Errors to Solve)