epfml / sent2vec

General purpose unsupervised sentence representations
Other
1.19k stars 256 forks source link

Misleading sent2vec package on PyPI #117

Closed Stannislav closed 3 years ago

Stannislav commented 3 years ago

There's a packagen on PyPI called sent2vec that's linked to a totally different repository.

Whoever does

$ pip install sent2vec

will get that wrong package.

One diagnostic of the wrong installation is the following error

>>> sent2vec.Sent2vecModel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'sent2vec' has no attribute 'Sent2vecModel'

I saw that there are several issues out there reporting a similar problem (#42, #43 , #61, https://github.com/ncbi-nlp/BioSentVec/issues/16) and it's possible that some of them are due to the wrong package on PyPI.

Which steps could be taken?

guptaprkhr commented 3 years ago

Thank you for bringing this to notice. We have put a warning in the readme. We will try to resolve the issue on PyPI as well.