我正在尝试使用Anaconda3 + python 3.6 x64在Microsoft Windows 10企业版上安装spacy。
为此,我执行了:
"""
这会显示错误消息conda config --add channels conda-forge
conda install spacy
。问题是什么?
整个错误消息如下:
CondaError: CondaHTTPError: HTTP None None for url
在过去的几天里,我曾多次尝试同样的问题。
我尝试了C:\Users\bob\AppData\Local\Continuum\Anaconda3\Scripts>conda install spacy
Fetching package metadata .............
Solving package specifications: .
Package plan for installation in environment C:\Users\bob\AppData\Local\Continuum\Anaconda3:
The following NEW packages will be INSTALLED:
cymem: 1.31.2-py36_vc14_0 conda-forge [vc14]
dill: 0.2.6-py36_0 conda-forge
ftfy: 4.4.2-py36_0 conda-forge
murmurhash: 0.26.4-py36_vc14_0 conda-forge [vc14]
plac: 0.9.6-py36_0
preshed: 1.0.0-py36_vc14_0 conda-forge [vc14]
pyreadline: 2.1-py36_0
regex: 2017.04.05-py36_0 conda-forge
spacy: 1.8.2-np112py36_vc14_0 conda-forge [vc14]
termcolor: 1.1.0-py36_1 conda-forge
thinc: 6.5.2-np112py36_vc14_0 conda-forge [vc14]
tqdm: 4.14.0-py36_0 conda-forge
ujson: 1.35-py36_0
The following packages will be UPDATED:
conda: 4.3.21-py36_0 --> 4.3.22-py36_0 conda-forge
The following packages will be SUPERSEDED by a higher-priority channel:
conda-env: 2.6.0-0 --> 2.6.0-0 conda-forge
Proceed ([y]/n)?
CondaError: CondaHTTPError: HTTP None None for url <https://conda.anaconda.org/conda-forge/win-64/conda-env-2.6.0-0.tar.bz2>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaError: CondaHTTPError: HTTP None None for url <https://conda.anaconda.org/conda-forge/win-64/conda-env-2.6.0-0.tar.bz2>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaError: CondaHTTPError: HTTP None None for url <https://conda.anaconda.org/conda-forge/win-64/conda-env-2.6.0-0.tar.bz2>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
:
conda install spacy --no-deps
即使我可以使用网络浏览器访问https://conda.anaconda.org/conda-forge/win-64/spacy-1.8.2-np112py36_vc14_0.tar.bz2。