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?
Warn abou this in the README file
Talk to the maintainer of the other sent2vec package?
Be prepared to answer other issues with the same problem.
There's a packagen on PyPI called
sent2vec
that's linked to a totally different repository.Whoever does
will get that wrong package.
One diagnostic of the wrong installation is the following error
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?
sent2vec
package?