安装fasttext报错:command 'x86_64-linux-gnu-gcc

据说win安装fasttext麻烦,linux上安装方便,结果我win10直接pip install 安装上去了,ubantu上pip install fasttext反而报错:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1python

仍是依赖问题:直接复制下面代码安装缺乏的依赖,而后再pip install fasttext便可安装linux

apt-get install python3 python-dev python3-dev      build-essential libssl-dev libffi-dev      libxml2-dev libxslt1-dev zlib1g-dev      python-pipui

相关文章
相关标签/搜索