Windows 7 jupyter notebook - ImportError: No modul

2019-08-13 10:14发布

问题:

I am novice to tensorflow and unix/linux usage. So my questions might be too simple.

I have been running .ipynb files from Anaconda/Jupyter notebook successfully. However after I installed tensorflow using pip, i am getting an error when I try to import tensorflow.

ImportError: No module named 'tensorflow'

Alternatively I have also downloaded tensorflow image using docker and I can run it from docker container. However I have no clue how to execute .ipynb files (& also how to add that to my docker container with tensorflow)

回答1:

I solved the problem using Yaroslav Bulatov's solution from the comments.

Use

conda install -c http://conda.anaconda.org/jjhelmus tensorflow

instead of

conda install -c conda.anaconda.org/jjhelmus tensorflow.