logo
Loading...

import pycurl 出現問題要怎麼解決? - Cupoy

我在執行下面這段程式碼的時候 from grab import Grab from pyquer...

D9,pycurl,grab

import pycurl 出現問題要怎麼解決?

2021/02/15 下午 02:24
更多的資料爬蟲工具介紹 - PyQuery/grab
www
觀看數:22
回答數:1
收藏數:0
D9
pycurl
grab

我在執行下面這段程式碼的時候 ```python from grab import Grab from pyquery import PyQuery as pq g = Grab() res = g.go(url) doc = pq(res.body) title = doc('title') print(type((title)),title.text()) ``` 出現 ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other) 然後我按照這篇去做 [link](https://github.com/transloadit/python-sdk/issues/4) 在 uninstall pycurl 的時候出現下面的訊息 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. 想請問該怎麼解決?謝謝!

回答列表