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

执行 python test_project.py时报错 #2

Open
Zss1990 opened this issue Jul 19, 2017 · 2 comments
Open

执行 python test_project.py时报错 #2

Zss1990 opened this issue Jul 19, 2017 · 2 comments

Comments

@Zss1990
Copy link

Zss1990 commented Jul 19, 2017

执行 python test_project.py时报错
Traceback (most recent call last):
File "test_project.py", line 4, in
import package as package
ImportError: No module named package

@skytoup
Copy link
Owner

skytoup commented Jul 27, 2017

得把根目录的package.py移进去,可能在根目录运行也可以

@skytoup
Copy link
Owner

skytoup commented Jul 27, 2017

tip: 需要用python3

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