当我执行以下命令时出错:
<><><><><><><><><><><><><><><><><><><><><>
(tensorflow36) C:\Users\usr1>conda install tensorflow
Fetching package metadata .................
PackageNotFoundError: Packages missing in current channels:
- tensorflow
我们在以下 channel 搜索了包:
- > http://conda.anaconda.org/gurobi/win-32
- > http://conda.anaconda.org/gurobi/noarch
- > https://conda.anaconda.org/anaconda-fusion/win-32
- > https://conda.anaconda.org/anaconda-fusion/noarch
- > https://repo.continuum.io/pkgs/main/win-32
- > https://repo.continuum.io/pkgs/main/noarch
- > https://repo.continuum.io/pkgs/r/noarch
- > https://repo.continuum.io/pkgs/pro/win-32
我错过了什么??
最佳答案
如文档 ( 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/