安装Linux版Miniconda3:时出现此错误
PREFIX=/data/ubuntu/miniconda3
installing: python-3.7.1-h0371630_7 ...
Miniconda3-latest-Linux-x86.sh: 373: Miniconda3-latest-Linux-x86.sh: /data/ubuntu/miniconda3/pkgs/python-3.7.1-h0371630_7/bin/python: not found
为什么会发生这种事,我该怎么办?
whereis python
python: /usr/bin/python3.6m /usr/bin/python3.6 /usr/lib/python2.7 /usr/lib/python3.7 /usr/lib/python3.6 /etc/python3.6 /usr/local/lib/python3.6 /usr/share/python
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/bin/python3.6:/usr/lib/python3.7
正在尝试在Ubuntu AWS实例上安装。
原因是架构错误。需要使用Miniconda3-latest-Linux-x86_64.sh而不是Miniconda3-litest-Linux x86.sh。