我对tensorflow和Unix / Linux的使用是新手。所以我的问题可能太简单了。
我已经从Anaconda / Jupyter笔记本成功运行了.ipynb文件。但是,当我使用pip安装tensorflow之后,尝试导入tensorflow时出现错误。
ImportError: No module named 'tensorflow'
另外,我也使用docker下载了tensorflow镜像,并且可以从docker容器中运行它。但是我不知道如何执行.ipynb文件(以及如何使用tensorflow将其添加到我的docker容器中)
最佳答案
我从注释中使用Yaroslav Bulatov's solution解决了问题。
使用conda install -c http://conda.anaconda.org/jjhelmus tensorflow
代替conda install -c conda.anaconda.org/jjhelmus tensorflow
。
关于docker - Windows 7 Jupyter Notebook-ImportError:没有名为 'tensorflow'的模块,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/36046448/