Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when importing dictlearn #5

Open
f9999 opened this issue Oct 22, 2020 · 0 comments
Open

Issue when importing dictlearn #5

f9999 opened this issue Oct 22, 2020 · 0 comments

Comments

@f9999
Copy link

f9999 commented Oct 22, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant