gpt4 book ai didi

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

转载 作者:可可西里 更新时间:2023-11-01 11:44:57 25 4
gpt4 key购买 nike

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

<><><><><><><><><><><><><><><><><><><><><>
(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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com