Adding alternate channels to anaconda

Since I have mac with M1 chip and couldn't get Tensorflow installed using the regular version of anaconda, I installed conda using miniforge3-MacOSX-arm64.sh. However now I cannot create an environment with python 2.7.

conda create --name osmEnv python=2.7

I end up with the following error,

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

  - python=2.7

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/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.

Is there a way to add channels as specified by error msg? or any other solution to create python 2.7 environment?



Read more here: https://stackoverflow.com/questions/67380286/adding-alternate-channels-to-anaconda

Content Attribution

This content was originally published by imantha at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: