各种报错, Operation not permitted 该找谁呢? pip 还是 Apple ?
前一条附言跑题的,说的是修正 homebrew 的事情。
修正后:
pip install --user packagename
可正常安装。
|
SharedOct 6, 2015
1
关闭 SIP ,或者使用 /usr/local/
|
|
humiaozuzuOct 6, 2015
2
用 homebrew 的 py
|
|
sinbhOct 6, 2015
3
sudo pip instal XX
|
|
ffffwhOct 6, 2015
4
pip install --user xxx
? |
|
5
|
|
xmgitOct 6, 2015
6
显然是 --user
除了 homebrew python ,不懂很多人为什么还 sudo pip 的 |
|
187j3x1Oct 7, 2015
7
难道之前没用过 homebrew 么 py node ruby 都有隔离管理 3 楼动不动就 sudo 也是服了
|
|
zanderOct 7, 2015
8
用 homebrew 的 python2 和 pip2 。
|
|
humiaozuzuOct 7, 2015
9
@xpol homebrew 的安装路径就是带 local 的了,他的 pip 也是
|
|
yujiaOct 7, 2015
10
把 home-brew 修复好,然后用 home-brew 的 python2
|