Closed mar00nie closed 6 years ago
Did you try reinstalling the cython module ?
I recloned the repository and ran all the commands again, and now it works. Thanks.
Processing /home/aum/ezDI/main_code/sent2vec Installing collected packages: sent2vec Running setup.py install for sent2vec ... done Successfully installed sent2vec-0.0.0
Note that if you install sent2vec
using
$ pip install sent2vec
then you'll get the wrong package. This is because the package sent2vec
on PyPI is a totally different package with the same name.
The correct way of installing sent2vec
is to clone their repository here https://github.com/epfml/sent2vec and to follow the instructions in the README file
Hi, I trained a sent2vec model last week and was able to use it for sentence similarity. Today I reran the code in jupyter notebook and the line "model = sent2vec.Sent2vecModel()" produces the error "module 'sent2vec' has no attribute 'Sent2vecModel'". Do you know what the problem is?