擅长:python、mysql、java
<p>首先确保您已经安装了<code>urllib3</code>。有时<code>urllib3</code>安装中断。如果由于某种原因,urllib3的安装没有包括<code>util</code>子模块,那么您可以简单地从pypi页面下载归档文件并将util文件夹从那里复制到您的<code>urllib3</code>安装位置。在</p>
<p>您也可以发出以下命令以获取最新版本:</p>
<p><code>sudo pip install urllib3 upgrade</code></p>
<p>然后,通过启动python解释器查看模块的位置,并检查<code>urllib3</code>模块从何处加载:</p>
<p><code>python -c "import urllib3; print urllib3.__file__"</code></p>
<p>如果以上所有操作都不适合您,请确保导入正确!确保没有冲突。在</p>