Skip to content

Issue when importing dictlearn #5

@f9999

Description

@f9999

Hi, I encountered the following error when importing dictlearn. I have tried to reinstall the package with
python setup.py install and python setup.py build_ext but still gives an error.

import dictlearn
Traceback (most recent call last):

  File "/home/david/dictlearn/src/dictlearn/dictlearn/__init__.py", line 84, in <module>
    ___SETUP___

NameError: name '___SETUP___' is not defined


During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "<ipython-input-7-e8373b45b542>", line 1, in <module>
    import dictlearn

  File "/home/david/dictlearn/src/dictlearn/dictlearn/__init__.py", line 92, in <module>
    from .algorithms import (

  File "/home/david/dictlearn/src/dictlearn/dictlearn/algorithms.py", line 6, in <module>
    from . import optimize, inpaint, sparse

  File "/home/david/dictlearn/src/dictlearn/dictlearn/optimize.py", line 10, in <module>
    from . import sparse, preprocess

  File "/home/david/dictlearn/src/dictlearn/dictlearn/sparse.py", line 13, in <module>
    from ._dictlearn import _dictlearn

  File "/home/david/dictlearn/src/dictlearn/dictlearn/_dictlearn/__init__.py", line 1, in <module>
    from . import _dictlearn

ImportError: /home/david/dictlearn/src/dictlearn/dictlearn/_dictlearn/_dictlearn.cpython-36m-x86_64-linux-gnu.so: undefined symbol: omp_get_thread_num

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