Skip to content

Symbol not found #2

Open
Open
@RajaBellebon

Description

@RajaBellebon

Hello @sekhansen ,

I am trying to play around with your tutorial.

After following all the installation (I am on Mac) , I try to run the code from :

  • Python 2.7 and the tutorial.py, I got :
    Traceback (most recent call last): File "/Users/rbellebon/text-mining-tutorial/tutorial.py", line 9, in <module> import topicmodels File "/Users/rbellebon/text-mining-tutorial/topicmodels/__init__.py", line 5, in <module> from . import LDA File "/Users/rbellebon/text-mining-tutorial/topicmodels/LDA/__init__.py", line 2, in <module> from .gibbs import * File "/Users/rbellebon/text-mining-tutorial/topicmodels/LDA/gibbs.py", line 17, in <module> from topicmodels.samplers import samplers_lda ImportError: dlopen(/Users/rbellebon/text-mining-tutorial/topicmodels/samplers/samplers_lda.so, 2): Symbol not found: _gsl_rng_mt19937 Referenced from: /Users/rbellebon/text-mining-tutorial/topicmodels/samplers/samplers_lda.so Expected in: flat namespace

  • Python 3.6 and junyper notebook, when I execute import topicmodels, I got:

ImportError: dlopen(/Users/rbellebon/text-mining-tutorial/topicmodels/samplers/samplers_lda.so, 2): Symbol not found: _PyClass_Type Referenced from: /Users/rbellebon/text-mining-tutorial/topicmodels/samplers/samplers_lda.so Expected in: flat namespace in /Users/rbellebon/text-mining-tutorial/topicmodels/samplers/samplers_lda.so

Any idea on what can be wrong?

Thanks in advance,

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