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

2024-06-17 10:48:40 发布

您现在位置:Python中文网/ 问答频道 /正文

我执行以下命令时出错:

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

PackageNotFoundError: Packages missing in current channels:

  - tensorflow

我们已在以下渠道搜索包裹:

我错过了什么??在


Tags: httpsioorghttpmaintensorflowrepoanaconda
1条回答
网友
1楼 · 发布于 2024-06-17 10:48:40

如文档(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版本:

^{pr2}$

pip的升级选项将确保安装最新版本的tensorflow。有关详细信息,请转到https://www.tensorflow.org/versions/r0.12/get_started/os_setupWindows上的Pip安装

相关问题 更多 >