Apple mac mini(M1)でconda環境(anaconda)を作ってみる.

supervisor@mini-m1 ~ % curl -O https://repo.anaconda.com/archive/Anaconda3-2022.05-MacOSX-arm64.sh
 
supervisor@mini-m1 ~ % zsh ./Anaconda3-2022.05-MacOSX-arm64.sh -b
PREFIX=/Users/supervisor/anaconda3
 :
 :
supervisor@mini-m1 ~ % export PATH=~/anaconda3/bin:$PATH
supervisor@mini-m1 ~ % conda env list
# conda environments:
#
base                  *  /Users/supervisor/anaconda3
 
supervisor@mini-m1 ~ % conda init
no change     /Users/supervisor/anaconda3/condabin/conda
no change     /Users/supervisor/anaconda3/bin/conda
no change     /Users/supervisor/anaconda3/bin/conda-env
no change     /Users/supervisor/anaconda3/bin/activate
no change     /Users/supervisor/anaconda3/bin/deactivate
no change     /Users/supervisor/anaconda3/etc/profile.d/conda.sh
no change     /Users/supervisor/anaconda3/etc/fish/conf.d/conda.fish
no change     /Users/supervisor/anaconda3/shell/condabin/Conda.psm1
modified      /Users/supervisor/anaconda3/shell/condabin/conda-hook.ps1
no change     /Users/supervisor/anaconda3/lib/python3.9/site-packages/xontrib/conda.xsh
no change     /Users/supervisor/anaconda3/etc/profile.d/conda.csh
modified      /Users/supervisor/.bash_profile
 
==> For changes to take effect, close and re-open your current shell. <==
 
supervisor@mini-m1 ~ % cat .bash_profile >> .zshrc
supervisor@mini-m1 ~ % exit

再度接続すると

(base) supervisor@mini-m1 ~ %

となる。ここまではいい。

だが、ここでintel-macのようにアプリを組み込もうとすると

(star-fusion) supervisor@mini-m1 ~ % conda install -c bioconda star-fusion
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
 
UnsatisfiableError:
 
(star-fusion) supervisor@mini-m1 ~ %

と「Found conflicts! Looking for incompatible packages.」とM1チップ向けのバイナリーがまだ用意されていないようで躓く。


トップ   編集 添付 複製 名前変更     ヘルプ   最終更新のRSS
Last-modified: 2022-07-30 (土) 20:48:40 (56d)