LinkError: post-link script failed for package psi4::gcc-5-5.2.0-1

目录

  • LinkError: post-link script failed for package psi4::gcc-5-5.2.0-1
    • 系统环境
    • 问题描述
    • 原因+解决方案

LinkError: post-link script failed for package psi4::gcc-5-5.2.0-1

系统环境

python=3.6
linux版本信息:

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

问题描述

我在人-物关系识别的仓库DRG搭环境时
执行 conda install -c psi4 gcc-5 报错


ERROR conda.core.link:_execute(502): An error occurred while installing package 'psi4::gcc-5-5.2.0-1'.
LinkError: post-link script failed for package psi4::gcc-5-5.2.0-1
running your command again with `-v` will provide additional information
location of failed script: /home/magus/anaconda3/envs/drg/bin/.gcc-5-post-link.sh
==> script messages <==


Attempting to roll back.

Rolling back transaction: done

LinkError: post-link script failed for package psi4::gcc-5-5.2.0-1
running your command again with `-v` will provide additional information
location of failed script: /home/magus/anaconda3/envs/drg/bin/.gcc-5-post-link.sh
==> script messages <==

原因+解决方案

原因未知
但是在conda github的issues里查到说换用gxx(并不知道是什么)
我在其他博客上(找不到链接了)看到说conda5.0以后貌似已经不支持gcc了,虽然我的conda是4.5.1。所以排除这个原因。
按照前面github里的说法去找gxx,但是正常的源里面gxx版本都很高(>=7),我要的是gcc5.2.0,因此我去conda仓库里找了一个版本看起来最低的(6.3.0)来装
conda install -c rgrout gxx_impl_linux-64
不知道对最后的运行有没有影响,至少后续的环境安装都没有问题了

你可能感兴趣的:(conda环境bug,bug,python,anaconda)