擅长:python、mysql、java
<p>在尝试了提供的两个答案后,我不断遇到一些奇怪的Python问题。例如,我在运行<code>sudo python3 get-pip.py</code>时收到<code>zipimport.ZipImportError: can't decompress data; zlib not available</code>错误,运行<code>python3.4 -m ensurepip</code>时收到<code>Ignoring ensurepip failure: pip 1.5.6 requires SSL/TLS</code>错误。看起来我缺少了典型pythonbui附带的许多依赖项</p>
<p>我使用<a href="https://stackoverflow.com/questions/3819449/how-to-uninstall-python-2-7-on-a-mac-os-x-10-6-4/3819829#3819829">this SO answer</a>卸载了Python3.4,重新安装了Python3.4,现在<code>pip3</code>命令起作用了。在</p>