如何在python上安装pip(错误:没有此类文件或目录)

编程入门 行业动态 更新时间:2024-10-24 11:15:51
本文介绍了如何在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(错误:没有此类文件或目录)

本文发布于:2023-07-04 11:09:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1023601.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:此类   错误   文件   目录   如何在

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!