I have installed Python version 3.5 and 3.6 and anaconda.
The following error occures when trying to install tensorflow following the steps here https://www.tensorflow.o
I ran into the same difficulties with the same error. It seems to be that Python 3.6 isn't immediately supported and found a sort of workaround here (note that this involves installing Python 3.5 which I did not already have installed, I don't know if this should be done a different way if its already installed):
If you are using anaconda distribution, you can do the following to use python 3.5 on the new environment "tensorflow":
conda create --name tensorflow python=3.5 activate tensorflow conda install jupyter conda install scipy pip install tensorflow \# or \# pip install tensorflow-gpu
It is important to add
python=3.5
at the end of the first line, because it will install Python 3.5.
If you've already created the tensorflow environment (the conda create
step), you'll have to delete it and start over. Otherwise, you'll run into an error "CondaValueError: Value error: prefix already exists: C:\[your environment location]
" (If you run into the unsupported wheel error, then you probably created the environment already.)
To delete your previous environment, according to the Conda Cheat Sheet, you first deactivate from (tensor flow)
if needed by calling deactivate
, then call conda remove --prefix ~/bioenvcopy --all
. For ~/bioenvcopy
I believe you use the tensorflow environment path. The location can be found by calling conda info --envs
(citing the cheat sheet once again). Mine, for example, was conda remove --prefix ~/Anaconda3/envs/tensorflow
I successfully used this work around on Windows 10.
This solution probably be obsolete when 3.6 is supported.