使用 conda 环境在 windows 上安装 tensorflow 以及 pytorch 时出现问题

Problem with installing tensorflow on windows along with pytorch using conda environment

我正在尝试使用 conda 环境在 windows 上安装 "Tensorflow"。

请注意-

  1. 我正在同一环境中安装 tensorflow 和 pytorch。
  2. 我得到 "Remove Error":'setuptools' 是 conda 的依赖项,无法从中删除 conda的运行环境。
  3. 我在使用这两个命令时都遇到了这个错误
    • pip 安装 tensorflow
    • conda 安装 tensorflow

下面是错误截图。

我通过修复 "httptools" 的安装解决了这个问题。

最近发现很多conda的支持都迁移到了conda forge

因此,在安装 TENSORFLOW 之前。我在 anaconda 提示符下使用以下命令安装了 "httptool"。

conda install -c conda-forge httptools

现在一切正常。