spyder cant load tensorflow

家住魔仙堡 提交于 2019-12-25 08:03:24

问题


I build and installed tensorflow in my ubuntu 16.04 with gpu. In command line I can easily activate tensorflow environment but while I try to run the code through spyder it show this : "No module named tensorflow.examples.tutorials.mnist"

how can I run my python code from spyder with tensorflow?


回答1:


  1. Enter the enviornment

    source activate tensorflow

  2. install spyder

    conda install spyder

  3. Run spyder

    spyder

`



来源:https://stackoverflow.com/questions/40166386/spyder-cant-load-tensorflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!