現在是9/1 23:17 夜班很爽 ,想怎麼折騰就怎麼折騰呀
安裝pyspider 爬蟲框架遇到的問題
1,pip install pyspider報錯如下(查資料 得知 要依賴pycrul)
Command "python setup.py egg_info" failed with error code 10 in
2,pip insatall pycrul報錯依然
Command "python setup.py egg_info" failed with error code 10 in
3.pycrul 安裝有問題
http://www.lfd.uci.edu/~gohlke/pythonlibs/(Python扩展包的非官方Windows二进制文件)
到這個網站找到pycrul 你自己需要的包(.whl)
pip install pycurl‑7.43.0‑cp36‑cp36m‑win_amd64.whl(我是64位系統 pythong是3.6)
安裝成功
繼續 pip install pyspider安裝成功
執行pyspider all 報警
FutureWarning: timeout is not supported on your platform.(超時不支持我的平台)
但是我還是能正常的訪問5000,沒問題 ,後續再看會有什麼影響
厲害了 廈門
网友评论