Ubuntu 在anaconda中安装包gcc-7时出错
我正在设置一个新服务器,希望安装gcc-5/6/7。我没有服务器的root访问权限,因此我选择conda安装我自己的env。但是,出现了一些错误。有人知道如何解决这些问题吗Ubuntu 在anaconda中安装包gcc-7时出错,ubuntu,gcc,anaconda,Ubuntu,Gcc,Anaconda,我正在设置一个新服务器,希望安装gcc-5/6/7。我没有服务器的root访问权限,因此我选择conda安装我自己的env。但是,出现了一些错误。有人知道如何解决这些问题吗 https://github.com/conda/conda/issues
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
我运行了命令“conda install-v-c quantstack gcc-7”
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
输出如下所示:
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
发生意外错误。请考虑将下列信息发布到
康达GitHub问题追踪器位于:
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
当前conda安装:
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
$/mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/conda安装-v-c quantstack gcc-7
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 497, in run_script
subprocess_call(command_args, env=env, path=dirname(path))
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/gateways/subprocess.py", line 56, in subprocess_call
output=_format_output(command_str, path, rc, stdout, stderr))
subprocess.CalledProcessError: Command '['/bin/bash', '-x', '/mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 327, in _execute_actions
run_script(target_prefix, Dist(pkg_data), 'post-unlink' if is_unlink else 'post-link')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 513, in run_script
raise LinkError(message)
conda.exceptions.LinkError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
回溯(最近一次呼叫最后一次):
文件“/mnt/lustre/heyue/anaconda3/lib/python3.6/site packages/conda/core/link.py”,第497行,运行脚本
子进程调用(命令参数,env=env,path=dirname(path))
文件“/mnt/lustre/heyue/anaconda3/lib/python3.6/site packages/conda/gateways/subprocess.py”,第56行,在subprocess_调用中
输出=\格式\输出(命令\ str、path、rc、stdout、stderr))
subprocess.CalledProcessError:命令“['/bin/bash'、'-x'、'/mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh']”返回非零退出状态2。
在处理上述异常期间,发生了另一个异常:
回溯(最近一次呼叫最后一次):
文件“/mnt/lustre/heyue/anaconda3/lib/python3.6/site packages/conda/core/link.py”,第327行,在执行操作中
运行\u脚本(目标\u前缀,Dist(pkg\u数据),如果是\u unlink,则为'post unlink',否则为'post link')
文件“/mnt/lustre/heyue/anaconda3/lib/python3.6/site packages/conda/core/link.py”,第513行,运行脚本
引发链接错误(消息)
conda.exceptions.LinkError:包quantstack::gcc-7-7.2.0-2的后链接脚本失败
使用“-v”再次运行命令将提供其他信息
失败脚本的位置:/mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==>脚本消息脚本消息脚本消息我使用miniconda v4.7.12获得了gcc v7:
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
conda安装-c anaconda gcc_linux-64
详情如下:
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
https://github.com/conda/conda/issues
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.10.5
python version : 3.6.5.final.0
requests version : 2.18.4
root environment : /mnt/lustre/heyue/anaconda3 (writable)
default environment : /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0
envs directories : /mnt/lustre/heyue/anaconda3/envs
/home/heyue/.conda/envs
package cache : /mnt/lustre/heyue/anaconda3/pkgs
/home/heyue/.conda/pkgs
channel URLs : https://conda.anaconda.org/quantstack/linux-64
https://conda.anaconda.org/quantstack/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/heyue/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-327.36.3.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
UID:GID : 15665:15665
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
pkg_data, actions)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
reverse_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
exit_code = args.func(args, p)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
install(args, parser, 'install')
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
execute_actions(actions, index, verbose=not context.quiet)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
execute_instructions(plan, index, verbose)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
cmd(state, arg)
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
txn.execute()
File "/mnt/lustre/heyue/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
rollback_excs,
conda.CondaMultiError: post-link script failed for package quantstack::gcc-7-7.2.0-2
running your command again with `-v` will provide additional information
location of failed script: /mnt/lustre/heyue/anaconda3/envs/pytorch_1_0/bin/.gcc-7-post-link.sh
==> script messages <==
<None>
$x86\u 64-conda\u cos6-linux-gnu-gcc--版本
x86_64-conda_cos6-linux-gnu-gcc(crosstool NG 1.23.0.449-a04d0)7.3.0
版权所有(C)2017免费软件基金会。
这是自由软件;有关复制条件,请参见源。没有
担保甚至不是为了适销性或适合某一特定目的。
我跟踪了您,但在安装之后,conda env使用了相同的旧系统gccconda设置了一些环境变量,以指向更新的gcc版本;您可能也想看看这些环境变量,并确保它们在构建命令中使用