Getting ImportError while importing keras

别等时光非礼了梦想. 提交于 2020-01-05 07:15:16

问题


I have followed every step for installing keras but whenever I am trying to import keras it gives me an error No module named tensorflow. But I have already installed tensorflow.

I have two questions- 1. How can I solve this particular ImportError? 2. If possible can anyone give me a detailed step by step instruction on installing theano, tensorflow and keras? Please don't give any links to install keras because i have tried them all but they keep giving some kind of error or problem.

If possible please take a look at my other question since they are related No module named keras

Thank You


回答1:


Try sudo -H python -m pip install --upgrade --force-reinstall tensorflow



来源:https://stackoverflow.com/questions/41374447/getting-importerror-while-importing-keras

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