• Register
0 votes

Problem :

Currently I have installed Python version 3.5 and 3.6 and anaconda on my box.

The following error comes up while trying to install tensorflow below are the steps https://www.tensorflow.org/install/install_windows using the anaconda

(tensorflow) C:> pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl

tensorflow-1.0.1-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

As I am very much new to Python, I am unable to resolve this problem. I am using the Windows 10 with 64bit.

6 5 3
7,540 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

I also had the same problem in my windows 10 and python 3.6 box so I tried to navigate to anaconda navigator I just searched the anaconda navigator in start search,

in your Environment tab you can create/delete your environments. So please create the environment and name it as tensorflow and choose your python 3.5 as python version.

After that you can activate the tensorflow in your command line as follows :

activate tensorflow

and install the tensorflow with below command :

pip install tensorflow #or tensowrlow-gpu



The most convenient way to install the tensorflow is by creating the virtual environment in Conda with your python 3.5.2 and using the Conda-forge. This can be done by running below commands :

1.      conda create -n tensorflow python=3.5.2

2.      activate tensorflow

3.      conda config --add channels conda-forge

4.      conda install tensorflow

9 7 4
38,600 points
0 votes


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

Creating the tensorflow env without the correct python version did not work for me. So I had to do the following, which worked…

>deactivate tensorflow # start by deactivating the existing tensorflow env
>conda env remove -n tensorflow # remove the env

>conda create -n tensorflow python=3.5
>activate tensorflow

In Anaconda prompt, follow the instruction on Installing with Anaconda,

  1. conda create -n tensorflow
  2. activate tensorflow
Then the third step is a little different, try:
pip install tensorflow


10 6 4
31,120 points

Related questions

0 votes
1 answer 128 views
Problem : I want to intstall the TensorFlow using pip. I tried below command: $ pip install tensorflow –user But I got below error: Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow How can I install the TensorFlow?
asked Feb 19, 2020 mphil 2.3k points
0 votes
1 answer 377 views
Problem: If I try to execute the command sess = tf.Session() in the Tensorflow 2.0 environment then I am facing below error message: Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'tensorflow' has no attribute ' ... install numpy==1.16.2 Command Execution as below: Execute the command: import tensorflow as tf Execute the command: sess = tf.Session()
asked Jul 21, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 845 views
Problem : I am very beginner to Tensorflow. I am trying to use the Tensorflow from past couple of days. Now I am trying to install it and again reinstalling it again and again in my python2.7 and 3.4. But after doing so many installations I am still facing below ... for your reference: tf_in = tf.placeholder("float", [None, A]) # Features I need urgent help to fix above strange looking error.
asked Apr 29, 2020 stewart 4k points
0 votes
1 answer 859 views
Problem : Getting bellow error related to curses in python code curses is not supported on this machine (please install/reinstall curses for an optimal experience)
asked Nov 7, 2019 peterlaw 6.9k points
0 votes
1 answer 645 views
Problem : I want to learn the Machine Learning but I am unabe to resolve below error. My Specs : · Mac High Sierra 10.13.2 · Python3.4.5 · Numpy1.13.3 Used below Command: $ python3 -c "import jupyter, matplotlib, numpy, pandas, scipy, sklearn" I am ... to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
asked Dec 4, 2019 alecxe 7.5k points
1 vote
1 answer 93 views
Problem : I am very beginner to Tensorflow. I am trying to install the Tensorflow but I am unable to do so. I am following below procedure to install the tensorflow. >>> python -V Python 2.7.6 >>> pip -V pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2 ... /root/.pip/pip.log I am stuck with this error from past couple of days. Still unable to fix it. Please guide me in fixing this issue?
asked Mar 28, 2020 morrisBson 3.2k points
0 votes
1 answer 1.5K views
Problem : I am facing following error : ImportError: libcuda.so.1: cannot open shared object file: No such file or directory Failed to load the native TensorFlow runtime. Above error comes up when I tried to import the tensorflow. Is there anybody who has faced this error before and know the solution on it?
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 62 views
Problem : I wanted to install a .NET 472 developer pack on my Windows 10 machine from long time, and when I tried to install it got below error. I was able to install .NET 472 developer pack on my other Win10 machines, and also on my Win7 machine. So I don&rsquo;t ... OSInstallationType = "Client")) OR (VersionNT = v6.3) OR (VersionNT = v10.0 AND OSBuildNumber >= 14393) OR (VersionNT > v10.0))
asked Jan 27, 2020 jwilliam 3.9k points
0 votes
1 answer 913 views
Problem : I am using windows 10. I also have Tensorflow on my box.It says "Hello Tensorflow!" to me. However it has all of below before it: 2019-12-05 18:16:01.500579: I T:\src\github\tensorflow\tensorflow\core\platform\ ... \numpy\\.libs\\libopenblas.BNVRK7633HSX7YVO2TADGR4A5KEKXJAW.gfortran-win_amd64.dll' Consider using the--useroption or check the permissions. Any solution on this issue?
asked Dec 7, 2019 alecxe 7.5k points