安装Tensorflow数据集时Anaconda环境不一致

时间:2020-04-30 15:53:28

标签: python tensorflow anaconda conda

我正在尝试在Jupyter Notebook tensorflow-datasets软件包中安装,但在我输入Anaconda Prompt时: conda install -c anaconda tensorflow-datasets我收到一条有关环境不一致的消息:

Collecting package metadata (current_repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::anaconda==2020.02=py37_0
  - defaults/win-64::python-language-server==0.31.7=py37_0
  - pytorch/win-64::pytorch==1.5.0=py3.7_cuda102_cudnn7_0
  - defaults/win-64::spyder==4.0.1=py37_0
  - pytorch/win-64::torchvision==0.6.0=py37_cu102
failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/anaconda/win-64/repodata.json>
Elapsed: -

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.
'https://conda.anaconda.org/anaconda/win-64'

我已经安装了tensorflow,没有太多麻烦。我该如何解决这个问题?

0 个答案:

没有答案