擅长:python、mysql、java
<p>根据<a href="https://github.com/pypa/pip/issues/3165" rel="nofollow">this discussion</a></p>
<blockquote>
<p>This is because OS X El Capitan ships with six 1.4.1 installed already and when it attempts to uninstall it, it doesn't have permission to do so because System Integrity Protection doesn't allow even root to modify those directories.</p>
</blockquote>
<p>在回答中提到的少数解决方法中,可能值得尝试<code>pip install --ignore-installed six</code>,以避免尝试卸载系统的<code>six</code>包。</p>