questions about install stanfordnlp on win10 platform

50 views
Skip to first unread message

echot...@gmail.com

unread,
Feb 11, 2019, 12:54:25 AM2/11/19
to StanfordNLP: A Python NLP Library for Many Human Languages
Hello, i have met the problem when installing stanfordnlp packages by the following methods:pip install stanfordnlp,but returns the following errors :Command "python setup.py egg_info" failed with error code 1 in C:\Users\Administrator\AppData\Local\Temp\pip-install-44ovyq8j\torch\. I tried uninstalling torch packages,reinstall stanfordnlp packages,but it made no sense.Thanks sincerely for your help! 

Peng Qi

unread,
Feb 11, 2019, 12:42:37 PM2/11/19
to StanfordNLP: A Python NLP Library for Many Human Languages
It looks like you might be experiencing issues installing pytorch. Could you try one of the non-pip approaches from https://pytorch.org/ and see if that makes any difference?

That is, try installing pytorch manually before you install stanfordnlp. I'm noticing that for Windows, the pytorch website is suggesting to install from a custom wheel instead of installing directly from PyPI (which is what pip does).
Reply all
Reply to author
Forward
0 new messages