Skip to content

Import Error #2

Description

@LeonardoBarneschi

Hi, I have tried to use field_schnet.
On the installation side, everything looks fine, but when I tried to call "field_schnet_run.py" for the very first test in the README of field_schnet I get the following error.

Traceback (most recent call last):
File "/home/Leo/field_schnet/./src/scripts/field_schnet_run.py", line 10, in
from field_schnet.utils.script_utils import evaluate_dataset
File "/home/Leo/.local/lib/python3.10/site-packages/field_schnet/init.py", line 2, in
from field_schnet import atomistic
File "/home/Leo/.local/lib/python3.10/site-packages/field_schnet/atomistic/init.py", line 1, in
from field_schnet.atomistic.model import *
File "/home/Leo/.local/lib/python3.10/site-packages/field_schnet/atomistic/model.py", line 5, in
from schnetpack import Properties
ImportError: cannot import name 'Properties' from 'schnetpack' (/home/Leo/.local/lib/python3.10/site-packages/schnetpack/init.py)

Looks like indeed in the init file of schnetpack, "Properties" is being imported but with lower case p (properties).

Could you please help me figure out what I could possibly be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions