0

I have issues with importing tensorflow on my computer. After I received errors initially, I reinstalled Anaconda with the newest version Anaconda 5.3 for wihndows - python 3.7 . For the installation I used the following commands on cmd:

  • conda install tensorflow-gpu - got an error because of different versions, and continued with the following:
  • conda create -n Tensorflow anaconda python=3.7 - installed some packages , as required
  • activate Tensorflow
  • pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.1.0-cp35-cp35m-win_amd64.whl --> Got the following error : tensorflow-1.1.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

Afterwards I tried to import it on jupyter notebook anyway and got error again:

ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-64156d691fe5> in <module>() ----> 1 import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow' 

Can anyone advise how can I solve it?

8
  • "got an error because of different versions" -- what is it? Please include the exact output. Commented Nov 3, 2018 at 14:53
  • This was the adviseI found here --> stackoverflow.com/questions/44240707/… . I previously had python 3.6 on my computer, and decided to try the suggested solution which worked actually. Commented Nov 3, 2018 at 15:54
  • Initial error I got was from type "UnsatisfiableError: The following specifications were found to be in conflict" Commented Nov 3, 2018 at 15:55
  • Please include the exact output into the question. Commented Nov 3, 2018 at 17:05
  • 1
    I don't think Tensorflow is supported on Python 3.7 github.com/tensorflow/tensorflow/issues/17022 Commented Nov 3, 2018 at 17:57

1 Answer 1

1

just uninstall your python 3.7.xxxx versions,then install python 3.6.xx or lower version,now you can run pip install tensorflow successfully. don't forget reset your ide's python path and reinstall other packages.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.