如何在python上安装pip(错误:没有此类文件或目录) [英] How to install pip on python (error : No such file or directory)

查看:392
本文介绍了如何在python上安装pip(错误:没有此类文件或目录)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Mac上安装Django,因此必须在Python上安装pip,而且我不知道为什么我在互联网上找到的说明对我不起作用...

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...

这是我的问题:

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.

推荐答案

此处运行安装脚本,然后重新启动并使用pip install django安装.

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

这篇关于如何在python上安装pip(错误:没有此类文件或目录)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆