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

No module named 'layers' #113

Open
luoyangwei opened this issue Nov 3, 2022 · 2 comments
Open

No module named 'layers' #113

luoyangwei opened this issue Nov 3, 2022 · 2 comments

Comments

@luoyangwei
Copy link

luoyangwei commented Nov 3, 2022

刚接触tensorflow 请别嫌弃问题简单嫌我烦😭

image

报错:
ModuleNotFoundError: No module named 'layers'

环境:
python 3.9
tflearn 0.5.0
tensorflow-macos 2.10.0
macOS Ventura 13.0 (Apple M1)

@pengzhao-life
Copy link

Hi, I got the same error. I simply add package name as prefix, i.e. change line 19 to 'from p2m.layers import *', and it worked for me.

@luoyangwei
Copy link
Author

Hi, I got the same error. I simply add package name as prefix, i.e. change line 19 to 'from p2m.layers import *', and it worked for me.

thanks!

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

2 participants