Closed HossamAmer12 closed 9 months ago
No idea. Can you share the environment you are working with? OS, Python version, etc. I'll try reproducing the problem.
Thanks so much.
Just want to share the only way I found to solve this:
if needed pip install fasttext==0.9.2
@avidale I am still confused as to why I cannot install the latest compress fasttext
Python3.8 - Ubunto 18.0 - compress-fasttext==0.1.3 gensim==4.3.2
Using the old compress fast text is causing me other issues
Made SO question for this problem: https://stackoverflow.com/questions/77258294/compressfasttext-pqkmeans-does-not-install
The problem seems to be with installing lshash3
, which is the dependency of pqkmeans
, which is the dependency of compress-fasttext
.
So maybe it would make sense to contact the maintainers of lshash3
.
Here is their PyPI page https://pypi.org/project/lshash3, but I couldn't find their github.
Judging from the PyPI page, the maintainer is https://gitlab.com/hobs.
@avidale Do you have a way/patch to get around this error?
Hobs does not seem easily reachable via social media. I tried.
I can probably drop pqkmeans as a dependency, and re-implement their compression algorithm within the compress-fasttext codebase. But it will take more than a moment.
Thanks, @avidale .. Yes, please keep me posted. Btw, are you able to have the correct env on your computer? or you see the same error?
Can you please help me with my questions on either the other issues or the email I sent to you?
@avidale Can we use Faiss PQ instead? If yes, do you have any idea what could be changed?
Just want to say that the answer in this SO link solves this pqkmeans issue.
@HossamAmer12
I have just updated compress-fasttext
to the version 0.1.4
that doesn't require pqkmeans
as a dependency, and instead copypastes the quantizer from it.
This version should no longer have the installation problems; please check it out!
@HossamAmer12 I have just updated
compress-fasttext
to the version0.1.4
that doesn't requirepqkmeans
as a dependency, and instead copypastes the quantizer from it. This version should no longer have the installation problems; please check it out!
@avidale That's great. Thanks @avidale - I will have a look :))
When I try to install pqkmeans, I find this error:
Any clue about lshash3?