We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
报错Module NotFoundError:No module
The text was updated successfully, but these errors were encountered:
sys.path.append('./script')
了没有?
Sorry, something went wrong.
加了os.chdir(os.path.dirname(file)) sys.path.append(os.path.abspath('script')) 检查了一下打印是有的
不好意思,搞错问题了,是读不到sitpackage里的模块。可以读到script文件夹里的main.py文件 ,这个main.py文件import了sitpackage文件夹里模块,就会报错
No branches or pull requests
报错Module NotFoundError:No module
The text was updated successfully, but these errors were encountered: