Since I have a mac with a M1 chip, I couldn't get Tensorflow installed using the regular version of anaconda, therefore, I installed conda using miniforge3-MacOSX-arm64.sh instead. 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.
As suggested in the comments for adding a new channel (orginal question), I also tried using the anaconda channel,
conda create --name osmEnv -c anaconda python=2.7
Which resulted in the same error. Any ideas how to get python 2.7 installed.
-c <channel name>. E.g.conda create -c conda-forge ...conda create -c conda-forge --name osmEnv python=2.7, didnt work though