Skip to content

cannot run oqmd (django ImportError) #121

@LuciusV

Description

@LuciusV

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...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions