1
votes

While I am executing the following command it errors out:

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

PackageNotFoundError: Packages missing in current channels:

  - tensorflow

We have searched for the packages in the following channels:

What am I missing??

1

1 Answers

2
votes

As mentioned in the docs (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-only version:

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

GPU version:

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

The --upgrade option of pip will make sure the newest available version of tensorflow gets installed. For more info go to Pip installation on Windows in https://www.tensorflow.org/versions/r0.12/get_started/os_setup