Skip to content

import ENDFtk fails trying to import module "tools" #223

Description

@g2boojum
In [1]: import ENDFtk
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
ModuleNotFoundError: No module named 'tools'

The above exception was the direct cause of the following exception:

ImportError                               Traceback (most recent call last)
Cell In[1], line 1
----> 1 import ENDFtk

ImportError: initialization failed

I'm running ipython directly from the build directory. Presumably this is coming from my ENDFtk.cpython-314-x86_64-linux-gnu.so file, since I can see the python::module::import( "tools" ); line in ENDFtk.python.cpp. I assume the "tools" module is internal to the library? Help?

Many thanks!

Fedora 43
python 3.14.2

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