bash:pip:命令找不到mac os high sierra

时间:2018-03-02 13:04:34

标签: python macos pip

我不能用pip。我试过重新安装pip。

iterm回复:

Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg

所以我将MacBook-Pro:~ user$ export PATH=$PATH:Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg MacBook-Pro:~ user$ pip -bash: pip: command not found MacBook-Pro:~ user$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg MacBook-Pro:~ user$ which pip MacBook-Pro:~ user$ 添加到我的路径中:

pip

即使我尝试在/usr/bin

中安装git pr create --title "My PR" --auto-complete ,它似乎也无法正常工作

1 个答案:

答案 0 :(得分:1)

这解决了这个问题:

docker-proxy