当我尝试运行conda update numpy
时(运行conda update conda
时)我收到以下错误
Fetching package metadata ............CondaHTTPError: HTTP Error: Could not find URL: https://conda.anaconda.org/condaforge/linux-64/
this thread中的人有类似的问题,但我的.condarc中没有发现任何与他们相似的错误。
这是我的.condarc看起来像
channels:
- condaforge
- bioconda
- r
- defaults
conda info
Current conda install:
platform : linux-64
conda version : 4.2.9
conda is private : False
conda-env version : 4.2.9
conda-build version : not installed
python version : 3.5.2.final.0
requests version : 2.9.1
root environment : /home/axolotl/miniconda3 (writable)
default environment : /home/axolotl/miniconda3
envs directories : /home/axolotl/miniconda3/envs
package cache : /home/axolotl/miniconda3/pkgs
channel URLs : https://conda.anaconda.org/condaforge/linux-64/
https://conda.anaconda.org/condaforge/noarch/
https://conda.anaconda.org/bioconda/linux-64/
https://conda.anaconda.org/bioconda/noarch/
https://conda.anaconda.org/r/linux-64/
https://conda.anaconda.org/r/noarch/
https://repo.continuum.io/pkgs/free/linux-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/linux-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : /home/axolotl/.condarc
offline mode : False
答案 0 :(得分:1)
正确的频道名称为conda-forge
。你应该
conda config --remove channels condaforge
conda config --add channels conda-forge