当前位置:网站首页>Raspberry pie 4b64 bit system installation miniconda (it took a few days to finally solve it)

Raspberry pie 4b64 bit system installation miniconda (it took a few days to finally solve it)

2022-07-06 16:22:00 Rath mile_ LeslieWu

Project scenario :
Recently, I gave raspberry pie 4B Installed 64 Bit system , Then I want to install a conda, However, there are many online tutorials 32 Tutorial of bit system , After a long time of tossing and turning, I finally found the right solution , Write it down .


Problem description

Raspberry pie 4B64 Bit system installation conda When , After installation , appear Illegal Instruction error, Even if it runs conda list And other related commands are also illegal instructions .
The error code is as follows :

Miniconda3-py37_4.10.3-Linux-aarch64.sh: That's ok  435: 56590  Illegal order             $PREFIX/bin/python -E -sy" "$THIS_PATH"


Cause analysis :

Now raspberry pie 4B64 Bit system belongs to aarch64, But at present, raspberry pie is not compatible miniconda3 4.10 Version above :


Solution :

use miniconda3 4.9 Version perfectly solves this problem ( Really want to roast about tossing me for so long ):

  1. Pull conda Installation package .
wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-aarch64.sh
  1. install .
sudo bash Miniconda3-py37_4.9.2-Linux-aarch64.sh
  1. The process ( Omit )
     Insert picture description here
 Pay attention to a problem :
Miniconda3 will now be installed into this location:
/root/miniconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/miniconda3] >>>

 The above code appears >>> When , Remember to return at , Don't wait for it foolishly , It won't move . There is also the emergence of init, choice yes That's right , Let it automatically help you configure environment variables .
  1. Verify that the installation was successful .

Thank you for installing Miniconda3!
[email protected]:~# conda list
# packages in environment at /root/miniconda3:
#
# Name Version Build Channel
_libgcc_mutex             0.1                        main
_openmp_mutex             5.1                       1_gnu
brotlipy                  0.7.0           py37hfd63f10_1002
ca-certificates           2021.1.19            hd43f75c_0

  1. Finally, change the source to accelerate the impulse !!!
     Insert picture description here
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --set show_channel_urls yes

Finally, use happily Raspberry Pi 4 Raspberry pie 4B Surf , installed 64 Bit system , The test is indeed much faster . Later, there is a lot about raspberry pie 4b upgrade 64 Bit system 、 as well as cpu OverClock Settings 、docker Installation and other content updates . Write an article for the first time , Thank you. !

原网站

版权声明
本文为[Rath mile_ LeslieWu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060920077777.html