You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I installed qmpy by pip install qmpy for python3.7 environment
oqmd command gives error:
Traceback (most recent call last): File "/home/youjin/virtualenvs/django/bin/oqmd", line 10, in <module> from django.db.models import get_app, get_models ImportError: cannot import name 'get_app' from 'django.db.models' (/home/youjin/virtualenvs/django/lib/python3.7/site-packages/django/db/models/__init__.py)
(also, oqmd still had some python2-stype print...)
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. This happened because we released the pip package before the files in the bin directory were updated to Py3. It was a mistake. The update for the files was done soon after, but I'm yet to update the pip package. Will do it as soon as possible. Until then, you can use qmpy by cloning the github repo and installing it inside the virtual environment.
If curious, the commit that corrected these issues is accessible here.
Current version of the file bin/oqmd is provided here
Hello!
I installed qmpy by pip install qmpy for python3.7 environment
oqmd command gives error:
Traceback (most recent call last): File "/home/youjin/virtualenvs/django/bin/oqmd", line 10, in <module> from django.db.models import get_app, get_models ImportError: cannot import name 'get_app' from 'django.db.models' (/home/youjin/virtualenvs/django/lib/python3.7/site-packages/django/db/models/__init__.py)
(also, oqmd still had some python2-stype print...)
The text was updated successfully, but these errors were encountered: