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

Symbol not found #2

Open
RajaBellebon opened this issue Dec 10, 2017 · 2 comments
Open

Symbol not found #2

RajaBellebon opened this issue Dec 10, 2017 · 2 comments

Comments

@RajaBellebon
Copy link

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,

@sekhansen
Copy link
Owner

Thanks for the comment, in fact we are now setting the code up to allow easier installation with help from the Alan Turing Institute. The new version should be ready by January.

@RajaBellebon
Copy link
Author

Thanks @sekhansen ,I will watch the repo in this case and wait for the updated installation.

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

2 participants