ubuntu安裝pyspider遇到的坑

apt-get install python python-dev python-distribute python-pip \
libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxml \
ibssl-dev zlib1g-dev


安裝完上面組件要注意!

python如果是python3 需要安裝python3-dev

不然會報錯
Failed building wheel for pycurl
Running setup.py clean for pycurl
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章