How to install pip on python (error : No such file or directory)

痴心易碎 提交于 2019-12-22 11:35:56

问题


I'm trying to Install Django on my Mac so I have to install pip on Python, and I don't know why the instructions I found on internet don't work for me...

Here is my problem :

sudo easy_install pip

sudo: unable to execute /usr/local/bin/easy_install: No such file or directory

And I'm always getting that "no such file or directory".

Any help would be appreciated.


回答1:


Run the setup script from here then restart and install with pip install django.



来源:https://stackoverflow.com/questions/30146222/how-to-install-pip-on-python-error-no-such-file-or-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!