python - 在 Windows 10 (python 3.6.2) 中安装 Tensorflow 时出现问题

标签 python windows python-3.x tensorflow conda

当我执行以下命令时出错:

<><><><><><><><><><><><><><><><><><><><><>
(tensorflow36) C:\Users\usr1>conda install tensorflow
Fetching package metadata .................

PackageNotFoundError: Packages missing in current channels:

  - tensorflow

我们在以下 channel 搜索了包:

我错过了什么??

最佳答案

如文档 ( https://www.tensorflow.org/install/install_windows ) 中所述:

within Anaconda, we recommend installing TensorFlow with the pip install command, not with the conda install command.

仅 CPU 版本:

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.1-cp35-cp35m-win_amd64.whl

GPU 版本:

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.1-cp35-cp35m-win_amd64.whl

pip 的 --upgrade 选项将确保安装最新可用版本的 tensorflow。有关详细信息,请转到 https://www.tensorflow.org/versions/r0.12/get_started/os_setup 中的 Windows 上的 Pip 安装

关于python - 在 Windows 10 (python 3.6.2) 中安装 Tensorflow 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47799733/

相关文章:

python - 无法使用 python match() 解析字符串 - 出现错误 AttributeError : 'NoneType' object has no attribute 'group'

c# - 将我的程序添加到右键菜单

python - python中是否有非同步队列

python - 我如何将两个不同字典中的值相乘

python - python字符串的Golang JSON解码

python - 异步 : speculatively await multiple futures

java - 等同于 Java 的 System.getProperty ("java.io.tmpdir") 在 C 中?

c# - win10 wpf窗口定位bug

linux - 如何从 Python 项目构建 .exe?

python - 只打印包含特定字符的列表项