Orion ML 패키지가 호환되는 파이썬 버전이 3.7 이였기 때문에, M1 Silicon 에서 맞는 가상환경을 설치하려 했지만, 오류 발생
conda create -n myenv python=3.7
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=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.
=> M1 실리콘에서는 3.7 이하의 파이썬 버전을 지원하지 않기 때문이란다.. 그래서, 가상환경을 설정하고, OS 를 변경 후 파이썬을 설치하는 방식으로 해결!
#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