【Python】solve the problem of 'Command "python setup.py egg_info" failed with error code 1 '

I got a error information when I execute:

pip install word2vec

Error information:

Command "python setup.py egg_info" failed with error code 1 ...

So I try to execute the code follow:

pip install --upgrade setuptools
python -m pip install --upgrade pip

Then I successfully install word2vec.

posted @ 2021-05-22 11:51  yoz  阅读(55)  评论(0)    收藏  举报