OS X 下安装 pycurl

 1 (venv) ➜  pythonProject4 find / -iname ssl.h
 2 find: /usr/sbin/authserver: Permission denied
 3 /usr/local/Cellar/openssl@1.1/1.1.1g/include/openssl/ssl.h
 4 find: /Library/Application Support/Apple/ParentalControls/Users: Permission denied
 5 find: /Library/Application Support/Apple/AssetCache/Data: Permission denied
 6 find: /Library/Application Support/ApplePushService: Permission denied
 7 ^C
 8 (venv) ➜  pythonProject4 export PYCURL_SSL_LIBRARY=openssl                             
 9 (venv) ➜  pythonProject4 export CPPFLAGS=-I/usr/local/Cellar/openssl@1.1/1.1.1g/include
10 (venv) ➜  pythonProject4 export LDFLAGS=-L/usr/local/Cellar/openssl@1.1/1.1.1g/lib     
11 (venv) ➜  pythonProject4 pip install pycurl

 

posted @ 2020-11-17 19:54  两只老虎111  阅读(129)  评论(0编辑  收藏  举报