I am using anaconda, python 2.7, windows 10. I would like to install tensorflow with conda. However, I am having this error:
(tensorflow) C:\Users\cenk>conda install -c conda-forge tensorflow python=2.7
Fetching package metadata ...............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- python 2.7*
- tensorflow -> protobuf ==3.1.0 -> python 3.4*
Use "conda info <package>" to see the dependencies for each package.
TensorFlow only supports Python 3.5 64-bit on Windows. You need the corresponding Anaconda distribution.
Make sure to create an environment for Python=3.5
as Anaconda recently upgraded their distribution from 3.5
to 3.6
which is also not supported with a pre-build binary yet on Windows (ie you need to build TensorFlow from source to use Python 3.6 on Windows).
As a side note the conda package is not official so I'd recommend using the wheel provided on TensorFlow website . As an alternative you can install with the PYPI packages through pip install tensorflow
.
For complete information on TensorFlow installation on Windows please see here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.