Skip to content

ModuleNotFoundError: No module named 'PyNEC' #19

@jdh4

Description

@jdh4

I am on RHEL7. The shared library buids successfully but when I try to do "from PyNEC import *" it produces the error: ModuleNotFoundError: No module named 'PyNEC'

My PYTHONPATH includes $HOME/.local/lib/python3.8/site-packages as confirmed by print(sys.path).

The contents of that directory is:

easy-install.pth PyNEC-1.7.3.6-py3.8-linux-x86_64.egg

There is no directory called PyNEC containing an init.py file.

Here are the contents of the one directory:

$ ls PyNEC-1.7.3.6-py3.8-linux-x86_64.egg/
EGG-INFO examples pycache _PyNEC.cpython-38-x86_64-linux-gnu.so _PyNEC.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions