-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
initMNN.expr: PyType_Ready PyMNNVarType failed #1991
Comments
version?updated? |
2.0.0, latest version |
cannot reproduce with Python 3.8.13, change python version may solve this problem |
It's weird, my 3.8.13 doesn't work but 3.7 works fine |
that not the wirdest situation,i got two virtual environment ,which both used python3.8.13,but one of the environment report this error that exactly same with yours,but the other environment run script with mnn sucessully. |
The same problem occurs in Python 3.8.8 |
same |
The same problem occurs in Python 3.8.3. |
The same problem occurs in Python 3.8.5 |
Also get this error in py3.9.12+MNN2.0.0 |
The same problem occurs in Python 3.8.10. |
导致这个问题的原因是numpy版本不正确导致无法初始化,可以卸载并重新安装numpy来解决; |
An error occurred when running an mnn model inference demo below:
Log:
The text was updated successfully, but these errors were encountered: