小编Spy*_*los的帖子

OS X El Capitan中不允许"sudo pip uninstall"操作(/ tmp)

前言:我的OS X Python安装很乱.在我发现Homebrew之前,我开始使用Python系统.所以我一直在使用sudo pip install.我现在正在尝试清理所有内容,然后在Homebrew的Python上安装/链接pip包.

1)在许多SO答案中,人们建议这样做:pip freeze | xargs sudo pip uninstall -y这对我不起作用.我得到了很长的追溯.这些是最具代表性的部分:

~ $ pip freeze | xargs sudo pip uninstall -y
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The directory '/Users/smaniato/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. …
Run Code Online (Sandbox Code Playgroud)

macos pip python-2.7

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

macos ×1

pip ×1

python-2.7 ×1