【发布时间】:2023-03-13 23:14:02
【问题描述】:
我试过了
conda install -c conda-forge gcc
但它只安装了gcc。我还需要g++。
【问题讨论】:
我试过了
conda install -c conda-forge gcc
但它只安装了gcc。我还需要g++。
【问题讨论】:
它以包裹名称gxx 发货:
conda install -c conda-forge gxx
通常,我更喜欢使用 Conda Forge compilers 包或其子包之一(例如,cxx-compiler),因为此规范适用于跨平台。例如,cxx-compiler 将在 Linux 上安装 g++,在 OSX 上安装 clang++,在 Windows 上安装 vc。
【讨论】:
cxx-compiler 为我工作