⭐️/주절주절
[에러노트] conda 가상 환경 python 3.7이 안됨 맥북M1
개발소연자
2023. 9. 9. 22:50
$conda create -n test python=3.7
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- python3=3.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
- 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.
## create empty environment
$conda create -n py37
## activate
$conda activate py37
## use x86_64 architecture channel(s)
$conda config --env --set subdir osx-64
## install python, numpy, etc. (add more packages here...)
$conda install python=3.7