【问题标题】:Miniconda3 fails to install with error "python-3.7.1-h0371630_7/bin/python: not found"Miniconda3 安装失败,出现错误“python-3.7.1-h0371630_7/bin/python: not found”
【发布时间】:2019-11-01 17:54:13
【问题描述】:

安装 Miniconda3 for Linux 时出现此错误:

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 实例上安装。

【问题讨论】:

  • 那你找到错误中绝对路径中提到的python二进制了吗?
  • @user8408080 那是什么意思?该路径是在安装过程中创建的,所以我认为它应该是安装文件的一部分?
  • 啊当然;我的错。可能是版权问题?
  • 不,我授予了这些文件夹的所有权限...

标签: python ubuntu miniconda


【解决方案1】:

原因是错误的架构。需要使用 Miniconda3-latest-Linux-x86_64.sh 而不是 Miniconda3-latest-Linux-x86.sh。

【讨论】:

    猜你喜欢
    • 2018-04-17
    • 2016-01-02
    • 2015-12-02
    • 2021-07-04
    • 1970-01-01
    • 1970-01-01
    • 2019-09-06
    • 2015-12-18
    • 2020-07-28
    相关资源
    最近更新 更多