当前位置:网站首页>树莓派4B64位系统安装miniconda(折腾了几天终于解决)
树莓派4B64位系统安装miniconda(折腾了几天终于解决)
2022-07-06 09:28:00 【叻斯哩_LeslieWu】
项目场景:
最近给树莓派4B安装了64位系统,然后想给它装个conda,不过网上的教程比较多的都是32位系统的教程,后来折腾了好久终于找到正确解决的办法,特意记录下来。
问题描述
树莓派4B64位系统安装conda的时候,安装后,出现Illegal Instruction error,即使运行conda list等相关命令也是显示非法指令。
报错代码如下:
Miniconda3-py37_4.10.3-Linux-aarch64.sh:行 435: 56590 非法指令 $PREFIX/bin/python -E -sy" "$THIS_PATH"
原因分析:
目前树莓派4B64位系统属于aarch64,但是目前树莓派无法兼容miniconda3 4.10以上的版本:
解决方案:
采用miniconda3 4.9版本完美解决此问题(真的想吐槽折腾我这么久):
- 拉取conda安装包。
wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-aarch64.sh
- 安装。
sudo bash Miniconda3-py37_4.9.2-Linux-aarch64.sh
- 过程(省略)

注意一个问题:
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] >>>
出现以上代码>>>的时候,记得点回车,别傻乎乎的等着它,它不会动的。还有就是出现init,选择yes就对了,让它自动帮你配置好环境变量。
- 验证是否安装成功。
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
- 最后换个源加速冲!!!

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
最后快乐的使用Raspberry Pi 4树莓派4B冲浪吧,装了64位系统,看测试的确快了很多。后期还有很多关于树莓派4b升级64位系统、以及cpu超频设置、docker安装等内容更新。第一次写文章,谢谢大家!
边栏推荐
- Programmers, what are your skills in code writing?
- Interesting drink
- Alice and Bob (2021 Niuke summer multi school training camp 1)
- 【练习-3】(Uva 442)Matrix Chain Multiplication(矩阵链乘)
- 渗透测试 ( 7 ) --- 漏洞扫描工具 Nessus
- [exercise-4] (UVA 11988) broken keyboard = = (linked list)
- 921. Minimum additions to make parentheses valid
- [exercise-8] (UVA 246) 10-20-30== simulation
- 【练习-2】(Uva 712) S-Trees (S树)
- b站 实时弹幕和历史弹幕 Protobuf 格式解析
猜你喜欢

7-1 understand everything (20 points)

1689. Ten - the minimum number of binary numbers

Information security - Epic vulnerability log4j vulnerability mechanism and preventive measures

TCP's three handshakes and four waves

渗透测试 ( 3 ) --- Metasploit Framework ( MSF )

409. Longest palindrome

渗透测试 ( 1 ) --- 必备 工具、导航

The concept of C language array

Write web games in C language

渗透测试 ( 8 ) --- Burp Suite Pro 官方文档
随机推荐
Common configuration files of SSM framework
2078. Two houses with different colors and the farthest distance
【练习-1】(Uva 673) Parentheses Balance/平衡的括号 (栈stack)
JS调用摄像头
China potato slicer market trend report, technical dynamic innovation and market forecast
Sword finger offer II 019 Delete at most one character to get a palindrome
HDU - 6024 building shops (girls' competition)
【高老师软件需求分析】20级云班课习题答案合集
初入Redis
Raspberry pie csi/usb camera uses mjpg to realize web camera monitoring
[exercise-8] (UVA 246) 10-20-30== simulation
Research Report on surgical fluid treatment industry - market status analysis and development prospect prediction
Research Report on shell heater industry - market status analysis and development prospect forecast
Suffix expression (greed + thinking)
MySQL grants the user the operation permission of the specified content
Opencv learning log 19 skin grinding
【练习-2】(Uva 712) S-Trees (S树)
【练习-11】4 Values whose Sum is 0(和为0的4个值)
[teacher Gao UML software modeling foundation] collection of exercises and answers for level 20 cloud class
【练习-7】(Uva 10976)Fractions Again?!(分数拆分)