Python 报错

2023-11-18T05:04:18.png

python setup.py egg_info

安装Python项目时遇到以下报错,解决办法:

[scode type=”red”]Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-22Snbe/django-cors-headers/[/scode]
[scode type=”yellow”]You are using pip version 8.1.2, however version 23.3.1 is available.
You should consider upgrading via the ‘pip install –upgrade pip’ command.[/scode]

# 升级pip:
1.sudo wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
2.sudo python get-pip.py
3.pip -V

# 升级pip3:
1.sudo wget https://bootstrap.pypa.io/pip/3.5/get-pip.py
2.sudo python3 get-pip.py
3.pip -V

未解决

python3 -m pip install --upgrade pip
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容