0

我该如何解决这个问题?

balter@exalab3:~$ conda create -n r322 r=3.2.2
Fetching package metadata .........
Solving package specifications: .


PackageNotFoundError: Package not found: '' Dependency missing in current linux-64 channels:
  - r 3.2.2* -> r-base 3.2.2 -> libgcc

Close matches found; did you mean one of these?

    libgcc: libgd, libmagic

You can search for packages on anaconda.org with

    anaconda search -t conda libgcc

balter@exalab3:~$ conda list | grep libgcc
balter@exalab3:~$ conda install libgcc
Fetching package metadata .........
Solving package specifications: .


PackageNotFoundError: Package not found: '' Package missing in current linux-64 channels:
  - libgcc

Close matches found; did you mean one of these?

    libgcc: libgd, libmagic

You can search for packages on anaconda.org with

    anaconda search -t conda libgcc
4

1 回答 1

0

完全披露,这并不能直接解决您列出的问题(冒着被否决的风险),但我认为这种解决方法适用于我认为您想要做的事情。

棘手的是r语言在不同的频道中。特别是,看起来像您想要的包。理想情况下,该conda create命令可以让您指定该频道,但它看起来不像那样有效。相反,您可以尝试创建一个空环境——似乎是推荐的方式——然后在该环境中进行安装。换句话说,你可以试试这个:

conda create -n r322 python
source activate r322  
conda install --channel r r=3.3.2
于 2017-01-30T23:11:13.260 回答