-
-
Notifications
You must be signed in to change notification settings - Fork 101
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 'xxx' #189
Comments
不太懂如何才能贡献代码,只能发文字了,抱歉抱歉 @long2ice |
|
是哪一个命令?我这边测试没这个问题 |
已修复,安装最新源码试试 |
long2ice
added a commit
that referenced
this issue
Aug 16, 2021
Please refresh pypi (module not found) |
安装dev版本后,测试了history、init-db、migrate,都已正常执行了。 |
released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
之前出过类似毛病:#164 ,并且在0.5.4版本中已解决。
今天升级0.5.6版本,在使用 aerich init-db时,又出现错误:
经过跟踪分析,发现在utils.py文件第66行 importlib.import_module(config_path) 之前并未在sys.path加入配置目录
在cli.py文件第73行之前插入以下代码可解:
并且在ini配置文件中已加入配置: src_folder = ./.
我自己是暂时这样解决,不知道算不算BUG,望 @long2ice 尽快看下
The text was updated successfully, but these errors were encountered: