Grab無法安裝要怎麼做?輸入!pip install -U grab還是安裝失敗了
2020/06/17 下午 09:11
Python網路爬蟲討論版
佳鈴
觀看數:22
回答數:2
收藏數:1
輸入!pip install -U grab
出現
ERROR: Cannot uninstall 'pycurl'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
有嘗試過之前的問答了,還是無法成功
回答列表
-
2020/06/18 上午 00:20Jeffrey贊同數:0不贊同數:0留言數:0
1. 確認一下 pip 的版本,
pip install --user --upgrade pip
2. 如果是為了升級
pip --user --upgrade grab
-
2020/06/19 上午 00:29張維元 (WeiYuan)贊同數:1不贊同數:0留言數:1
嗨嗨,官方文件有提到 pycurl 的版本限制:
Do not use the recent version of pycurl (7.43.0 at the moment). This version fails randomly on windows platform. Use 7.19.5.3 version. You can get it here https://bintray.com/pycurl/pycurl/pycurl/view#files
如果這個回答對你有幫助請主動點選「有幫助」的按鈕,也可以追蹤我的GITHUB帳號。若還有問題的話,也歡迎繼續再追問或者把你理解的部分整理上來,我都會提供你 Review 和 Feedback 😃😃😃