[原創] ubuntu下安裝scrapy報錯 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Ubuntu14.04在virtualenv下安裝scrapy報錯,Failed building wheel for cffi,lxml,cryptography 等. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

sudo apt-get build-dep python-lxml

sudo pip install lxml --upgrade
sudo apt-get install build-essential libssl-dev libffi-dev python-dev

pip install scrapy

參考鏈接:
http://www.cnblogs.com/ifantastic/p/3830707.html
http://stackoverflow.com/questions/22073516/failed-to-install-python-cryptography-package-with-pip-and-setup-py

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM