gpt4 book ai didi

python - Miniconda3 安装失败,错误 "python-3.7.1-h0371630_7/bin/python: not found"

转载 作者:行者123 更新时间:2023-12-04 18:44:25 24 4
gpt4 key购买 nike

在为 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-latest-Linux-x86.sh。

关于python - Miniconda3 安装失败,错误 "python-3.7.1-h0371630_7/bin/python: not found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58663711/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com