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

Can't import evaluation module #469

Closed
dTenebrae opened this issue Jul 13, 2021 · 1 comment
Closed

Can't import evaluation module #469

dTenebrae opened this issue Jul 13, 2021 · 1 comment

Comments

@dTenebrae
Copy link

No matter, if i'm trying to import whole evaluation module or functions from it.


ImportError Traceback (most recent call last)
in
6 from implicit.nearest_neighbours import ItemItemRecommender, CosineRecommender, TFIDFRecommender, BM25Recommender
7
----> 8 from implicit import evaluation

ImportError: /home/tenebrae/miniconda3/lib/python3.9/site-packages/implicit/evaluation.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZSt28__throw_bad_array_new_lengthv

@dTenebrae
Copy link
Author

Finally i've solved it - was some sort of dependencies conflict.

System: Linux arch 5.12.15-arch1-1 #1 SMP PREEMPT Wed, 07 Jul 2021 23:35:29 +0000 x86_64 GNU/Linux

Installed through pip - gave me described error. Since pip was installed with anaconda, deleted in pip, trying with anaconda - no luck here. Wiped anaconda, installed miniconda,
updated it :
conda update -n base conda
conda update --all --yes
and installed implicit with conda install -c conda-forge implicit

After that all fine

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