-
Notifications
You must be signed in to change notification settings - Fork 610
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
Difficulty with bm25_weight in Linux install #21
Comments
Note, the same code works on Mac OS X. Have tried with Python 3.5 and 3.6 on Ubuntu with no luck. |
This seems like the same issue as here: Theano/Theano#5141 Can you try the steps listed and see if that fixes? |
duplicate of #23 |
I have the same issue but my error is a bit different, can you please detail the steps to fix this? I was not able to follow the steps in the link you provided above |
@benfred I tried doing that and it still wouldn't work. Any other ideas I can try please? Would really appreciate it! Update: this worked only after starting a brand new conda environment and installing running "conda install gcc" before installing implicit. It did not work by uninstalling implicit from the old environment, installing gcc and then reinstalling implicit for some reason. |
🙋 Ran into the same problem on a Mac. Going through the comments above and the links didn't help so far:
my setup:
|
@luebken There were two errors reported here previously in this thread =( Which one are you hitting - The 'Symbol not found: _GOMP_parallel' error or the 'undefined symbol: _ZdlPvm' one? Can you post the build output/error here ? |
I'm seeing the
|
@luebken I believe this fixes the Symbol not found: _GOMP_parallel error on OSX https://github.com/benfred/implicit/pull/ |
@benfred I am still getting the following error: I am using Mac. I tried what @luebken tried and it also did not work for me. More specifically, when I run the code
Running the same commands as @luebken here is my setup:
|
@zacharydestefano I just pushed a new version to pypi, which includes this fix #73 (previous comment didn't include the pr number for some reason). I think this will fix your issue, at least it for me when I encountered the same problem a couple of weeks ago on OSX. |
Sadly it has not fixed the issue. I still get the same error when I run I tried upgrading implicit using pip by running
I also cloned the repo and tried running |
cuda_setup.py script wasn't being distributed to pypi. Add to MANIFEST.in to try to fix: #21 (comment)
I think the 'cuda_setup' error is something I introduced this morning when fixing another issue. I think this should fix: cc4986c - can you try |
I ran it again and it worked! I have been able to import implicit and run my sample code! Thanks a lot for your help! |
On Ubuntu 16.04, when I try to import the bm25_weight function I get the following error:
import implicit
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/implicit/init.py", line 3, in
from . import nearest_neighbours
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/implicit/nearest_neighbours.py", line 7, in
from ._nearest_neighbours import all_pairs_knn
ImportError: /home/ubuntu/anaconda3/lib/python3.6/site-packages/implicit/_nearest_neighbours.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZdlPvm
The text was updated successfully, but these errors were encountered: