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

Expected in: flat namespace #23

Closed
yananchen1989 opened this issue Apr 1, 2017 · 3 comments
Closed

Expected in: flat namespace #23

yananchen1989 opened this issue Apr 1, 2017 · 3 comments

Comments

@yananchen1989
Copy link


ImportError Traceback (most recent call last)
in ()
----> 1 import implicit

/Users/yanan.chen/anaconda/lib/python2.7/site-packages/implicit/init.py in ()
1 from .als import alternating_least_squares
2
----> 3 from . import nearest_neighbours
4 from . import als
5

/Users/yanan.chen/anaconda/lib/python2.7/site-packages/implicit/nearest_neighbours.py in ()
5 from scipy.sparse import coo_matrix, csr_matrix
6
----> 7 from ._nearest_neighbours import all_pairs_knn
8 from .recommender_base import RecommenderBase
9 from .utils import nonzeros

ImportError: dlopen(/Users/yanan.chen/anaconda/lib/python2.7/site-packages/implicit/_nearest_neighbours.so, 2): Symbol not found: __ZdlPvm
Referenced from: /Users/yanan.chen/anaconda/lib/python2.7/site-packages/implicit/_nearest_neighbours.so
Expected in: flat namespace
in /Users/yanan.chen/anaconda/lib/python2.7/site-packages/implicit/_nearest_neighbours.so

@yananchen1989
Copy link
Author

How to solve this problem.

@benfred
Copy link
Owner

benfred commented May 3, 2017

The same error seemed to be occuring for a bunch of Theano users too: http://stackoverflow.com/questions/42729958/python-theano-undefined-symbol-zdlpvm-error/42832716#42832716

The issue there seems to be a problem with a too new version of GCC. Can you try the steps there, I can't reproduce this on my machine.

@benfred
Copy link
Owner

benfred commented Nov 1, 2017

I had this same error on my ubuntu v16.04 when running gcc6 and anaconda3 - downgrading to gcc 5 fixed.

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