MartinoMensio / spacy-universal-sentence-encoder

Google USE (Universal Sentence Encoder) for spaCy
MIT License
176 stars 12 forks source link

Unable to do pip install. #3

Closed sourcecode369 closed 4 years ago

sourcecode369 commented 4 years ago

ERROR: Command errored out with exit status 128: git clone -q ssh://git@github.com/MartinoMensio/spacy-universal-sentence-embedding-tfhub 'C:\Users\ROHIT~1.SIN\AppData\Local\Temp\pip-install-i9wahwsy\universal-sentence-encoder' Check the logs for full command output.

I am getting this error whenever I try to install this using pip.

MartinoMensio commented 4 years ago

Hi @sourcecode369 can you provide:

Thanks

sourcecode369 commented 4 years ago

ERROR: Command errored out with exit status 128: git clone -q ssh://git@github.com/MartinoMensio/spacy-universal-sentence-embedding-tfhub 'C:\Users\ROHIT~1.SIN\AppData\Local\Temp\pip-install-x7suv_mn\universal-sentence-encoder' Check the logs for full command output.

I am getting this error, whichever command I try.

pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder-tfhub/releases/download/xx_use_lg-0.2.0/xx_use_lg-0.2.0.tar.gz#xx_use_lg-0.2.0

MartinoMensio commented 4 years ago

Hi @sourcecode369 , Probably you had some problems with git ssh cloning. Since it requires setting up a public key, I switched the dependency of the models to https, so it should now work smoothly. Please run the command for the new release:

pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder-tfhub/releases/download/xx_use_lg-0.2.1/xx_use_lg-0.2.1.tar.gz#xx_use_lg-0.2.1

And let me know if this solves your problem.

Martino

MartinoMensio commented 4 years ago

Closed because new versions have been released which fix the ssh cloning.