siznax/wptools

ImportError: pycurl:

JiyaoWei opened this issue · 2 comments

import wptools

File "/usr/local/anaconda3/lib/python3.7/site-packages/wptools/init.py", line 23, in
from . import core
File "/usr/local/anaconda3/lib/python3.7/site-packages/wptools/core.py", line 14, in
from . import request
File "/usr/local/anaconda3/lib/python3.7/site-packages/wptools/request.py", line 17, in
import pycurl
ImportError: pycurl: libcurl link-time version (7.60.0) is older than compile-time version (7.67.0)

Fresh install in virtualenv on OS X and got:

pycurl: libcurl link-time ssl backends (secure-transport, openssl) do not include compile-time ssl backend

I would really suggest to replace with requests as it's better available... fewer issues with it.

As discussed previously, urllib3 is a better option. But if you want a requests branch, then please submit a PR! 😸