Skip to content

Cannot import from extension modules #22

@CsatiZoltan

Description

@CsatiZoltan

I installed RBF. However, I cannot import anything from the extension modules. Interestingly, if I work from the build directory (for me, it is /RBF/build/lib.linux-x86_64-3.7), there is no issue. The problem arises when Python imports from the installed .egg file. For instance:

>>> from rbf.linalg import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/zoltan/anaconda3/lib/python3.7/site-packages/RBF-2021.5.15+7.g50e4b5d-py3.7-linux-x86_64.egg/rbf/linalg.py", line 14, in <module>
ImportError: cannot import name 'row_norms' from 'rbf.sputils' (/home/zoltan/.cache/Python-Eggs/RBF-2021.5.15+7.g50e4b5d-py3.7-linux-x86_64.egg-tmp/rbf/sputils.cpython-37m-x86_64-linux-gnu.so)

Do you have an idea why it happens?

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