Today I want to create an environment via conda, but I got an error when I typed the following command:
$ conda create -n notion python=3.7
Channels:
- defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- python=3.7*
Current channels:
- defaults
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.
By some searching, I first tried the command conda config --append channels conda-forge
, but the problem still persists.
At the end, it turned out that Python 3.7 didn’t support arm64 for macOS version. The support information can be found here. So just using the version that supports arm64.