Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'tensorflow.python.keras' #1

Open
HuangCongQing opened this issue Mar 4, 2019 · 1 comment
Open

ImportError: No module named 'tensorflow.python.keras' #1

HuangCongQing opened this issue Mar 4, 2019 · 1 comment

Comments

@HuangCongQing
Copy link
Owner

HuangCongQing commented Mar 4, 2019

image

这个问题大概就是tensorflow不在正确的路径下,需要各种改改改 。哇,好麻烦。就在这时我突然想到我用的命令是pip,而我的python版本是3.6,而windows上安装python3 的时候就会自动带上pip3,一般python3会默认使用pip3安装的包,我用pip安装的tensorflow肯定不在python3访问的路径下。于是换上命令:
pip3 install tensorflow

作者:木槿花雨
来源:CSDN
原文:https://blog.csdn.net/springcoder/article/details/82504254
版权声明:本文为博主原创文章,转载请附上博文链接!

@HuangCongQing
Copy link
Owner Author

报错,如下图Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问
image
pip3 install tensorflow --user 通过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant