小編給大家分享一下python中Pyspider框架的安裝方法,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
關(guān)于Pyspider框架安裝
1)使用ubuntu
如果使用ubuntu,請先運(yùn)行sudo apt update 再運(yùn)行sudo apt upgrade 更新
apt-get install python python-dev python-distribute python-pip \ libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxml \ libssl-dev zlib1g-dev
2)在windows環(huán)境下
直接下載下載pycurl安裝。
注意的是如果在安裝完成后,還是顯示以下內(nèi)容報錯:
Deprecated option 'domaincontroller': use 'http_authenticator.domain_controller' instead.
解決方法:
刪除wsgidav 然后重新安裝2.4.1版本
以上是“python中Pyspider框架的安裝方法”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!