error: command 'gcc' failed with exit status 1

事因:在ubuntu中的conda环境中安装word2vec

报错:

解决:

sudo apt-get install gcc

pip install word2vec

 

N.B.  根据报错提示网上找解决方案时,基本都是 sudo apt-get install python3-dev. 但是在我这里都没用。

 

=======

以上。

 

posted @ 2018-04-22 21:45  wxiaoli  阅读(1142)  评论(0编辑  收藏  举报