python - 无法使用 anaconda 安装 GCC

标签 python gcc anaconda

这是命令 conda install gcc 的输出:

    Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - gcc-6

最佳答案

我不确定这些包究竟是如何关联的,但我需要安装 gcc包来解决某种加载错误。鉴于 gcc没有产生任何结果,我跑得很快

$ conda search gcc

其中产生了 gcc_linux-64 .后
$ conda install gcc_linux-64

我的问题消失了,尽管 which gcc还是指向系统安装🤷‍♂️

关于python - 无法使用 anaconda 安装 GCC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53426235/

相关文章:

python - 如何在 linux 服务器上的 python 环境中使用 anaconda 包?

python - 如何在Python中解码日元符号?

javascript - 我的网站与另一个需要用户名和密码的网站之间的链接

python - 如何隐藏子进程的输出

c++ - 在 Ubuntu 13 的 64 位环境中构建 32 位 FCGI++ 二进制文件

c++ - Mac 上的 OpenMP 不再工作

python - .anaconda 文件夹占用太多空间

python - PIP 命令在虚拟环境中不起作用

python - Travis-ci 构建失败但测试在本地通过

c - `#include <gmpxx.h>` 无法用 `fatal error: iosfwd: No such file or directory` 编译