今天在使用 conda activate 環(huán)境的時候豆村,出現(xiàn)了如下報錯:
$ conda activate rnaseq
ERROR: This cross-compiler package contains no program .../anaconda3/envs/rnaseq/bin/x86_64-conda_cos6-linux-gnu-addr2line
ERROR: activate-binutils_linux-64.sh failed, see above for details
ERROR: This cross-compiler package contains no program .../anaconda3/envs/rnaseq/bin/x86_64-conda_cos6-linux-gnu-cc
ERROR: activate-gcc_linux-64.sh failed, see above for details
ERROR: This cross-compiler package contains no program .../anaconda3/envs/rnaseq/bin/x86_64-conda_cos6-linux-gnu-gfortran
ERROR: This cross-compiler package contains no program .../anaconda3/envs/rnaseq/bin/x86_64-conda_cos6-linux-gnu-c++
ERROR: activate-gxx_linux-64.sh failed, see above for details
在 github 上有個同樣的問題,鏈接為:https://github.com/conda/conda/issues/6600奈懒,我在其中找到了答案。
$ conda remove gcc_linux-64 gcc_impl_linux-64 binutils_linux-64 binutils_impl_linux-64
雖然不清楚報錯原因,但問題好像是解決了救欧。
在這個問題下面還有些評論,他們在使用上述命令時锣光,出現(xiàn)了如下報錯:
ERROR: This cross-compiler package contains no program .../miniconda3/envs/busco4_env/bin/x86_64-conda_cos6-linux-gnu-gfortran
同樣幸運的是笆怠,下面有相應(yīng)的命令可以解決:
$ chmod -R u+x .../miniconda3/envs/busco4_env/bin