[英]Import error for urllib3
我通過復制源代碼(但來自GitHub)安裝了urllib3。
“安裝” urllib3
錯誤方法。 改用這個
pip install urllib3
您需要復制該模塊目錄( urllib3 / urllib3 / )。 您會在該目錄中找到該腳本目錄的__init__py文件。
其他方式:
$ pip search urllib3
opbeat_python_urllib3 (1.1) - An urllib3 transport for Opbeat
apiclient (1.0.3) - Framework for making good API client libraries using urllib3.
urllib3 (1.17) - HTTP library with thread-safe connection pooling, file post,
and more.
httplib2shim (0.0.1) - A wrapper over urllib3 that matches httplib2's interface
yieldfrom.urllib3 (0.1.4) - Asyncio HTTP library with thread-safe connection pooling, file
post, and more.
urllib3-mock (0.3.3) - A utility library for mocking out the `urllib3` Python
library.
使用pip安裝
pip install urllib3
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.