Conda Create Env - CondaHTTPError

时间:2016-11-19 01:53:38

标签: python conda

使用conda创建新环境时,收到以下错误消息。

C:\WINDOWS\system32>conda create -n py3.5_3
Fetching package metadata ..............

CondaHTTPError: HTTP 404 NOT FOUND
for url <https://conda.anaconda.org/t/Go-236a0c7c-5d96-4f63-9b72-b80b4b61c628/win-32/repodata.json>

The remote server could not find the channel you requested.

You will need to adjust your conda configuration to proceed.
Use `conda config --show` to view your configuration's current state.
Further configuration help can be found at <http://conda.pydata.org/docs/config.html>.

我不知道为什么这不起作用,并且在没有找到解决方案的情况下查看了conda配置html页面。 我不是错误消息要求我或如何修复HTTP错误。我认为我需要更新到一些新的存储库地址或类似的东西。任何过去经验的帮助或解决方案都是最受欢迎的。 以下是我的conda info命令的输出

C:\WINDOWS\system32>conda info -a
Current conda install:

               platform : win-32
          conda version : 4.2.12
       conda is private : False
      conda-env version : 4.2.12
    conda-build version : not installed
         python version : 3.5.2.final.0
       requests version : 2.12.0
       root environment : C:\Program Files (x86)\Python\Miniconda3  (writable)
    default environment : C:\Program Files (x86)\Python\Miniconda3
       envs directories : C:\Program Files (x86)\Python\Miniconda3\envs
          package cache : C:\Program Files (x86)\Python\Miniconda3\pkgs
           channel URLs : https://conda.anaconda.org/dsm/win-32
                          https://conda.anaconda.org/dsm/noarch
                          https://conda.anaconda.org/win-32
                          https://conda.anaconda.org/noarch



                          https://conda.anaconda.org/r/win-32
                          https://conda.anaconda.org/r/noarch

         https://repo.continuum.io/pkgs/free/win-32
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/pro/win-32
                          https://repo.continuum.io/pkgs/pro/noarch
                          https://repo.continuum.io/pkgs/msys2/win-32
                          https://repo.continuum.io/pkgs/msys2/noarch
            config file : C:\Users\David\.condarc
           offline mode : False

# conda environments:
#
py2.7                    C:\Program Files (x86)\Python\Miniconda3\envs\py2.7
py3.5                    C:\Program Files (x86)\Python\Miniconda3\envs\py3.5
py3.5_2                  C:\Program Files (x86)\Python\Miniconda3\envs\py3.5_2
root                  *  C:\Program Files (x86)\Python\Miniconda3

sys.version: 3.5.2 |Continuum Analytics, Inc.| (defau...
sys.prefix: C:\Program Files (x86)\Python\Miniconda3
sys.executable: C:\Program Files (x86)\Python\Miniconda3\python.exe
conda location: C:\Program Files (x86)\Python\Miniconda3\lib\site-packages\conda
conda-build: None
conda-env: C:\Program Files (x86)\Python\Miniconda3\Scripts\conda-env.exe
conda-server: C:\Program Files (x86)\Python\Miniconda3\Scripts\conda-server.exe
user site dirs:

CIO_TEST: <not set>
CONDA_DEFAULT_ENV: <not set>
CONDA_ENVS_PATH: <not set>
PATH: C:\Program Files (x86)\Python\Miniconda3\Library\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Python\Python35\Scripts\;C:\Program Files (x86)\Python\Python35\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS PYTHONHOME: <not set>
PYTHONPATH: <not set>

License directories:
    C:\Program Files (x86)\Python\Miniconda3\licenses
    C:\Users\David\.continuum
    C:\Users\David\AppData\Roaming\Continuum
License files (license*.txt):
Package/feature end dates:

1 个答案:

答案 0 :(得分:0)

我怀疑您的问题的答案在于频道网址列表中的空白区域。您是否删除了任何不让我们看到的URL?看起来你可能有......如果我的预感是正确的,请参阅this post寻找适用于你的解决方案