执行 python get-pip.py 后出现Hi there!的一封信

Hi there!

The URL you are using to fetch this script has changed, and this one will no
longer work. Please use get-pip.py from the following URL instead:

    https://bootstrap.pypa.io/pip/3.5/get-pip.py

Sorry if this change causes any inconvenience for you!

We don't have a good mechanism to make more gradual changes here, and this
renaming is a part of an effort to make it easier to us to update these
scripts, when there's a pip release. It's also essential for improving how we
handle the `get-pip.py` scripts, when pip drops support for a Python minor
version.

There are no more renames/URL changes planned, and we don't expect that a need
would arise to do this again in the near future.

Thanks for understanding!

- Pradyun, on behalf of the volunteers who maintain pip.

复制 你自己信 中的网址
复制信中的网址
执行 wget + 网址

wget https://bootstrap.pypa.io/pip/3.5/get-pip.py

下载的时候你的文件名会显示
我环境里的python是2.7版本 所以执行 python get-pip.py
(而不是 python3 get-pip.py)

python get-pip.py

在这里插入图片描述
(图片里我加了“ .1 ”是因为文件就是有 “.1” 的,下载的时候你的文件名会显示)

再次输入 pip --version
将不会出现 sys.stderr.write(f"ERROR:{exc}")
在这里插入图片描述

参照: https://blog.csdn.net/hardhard123/article/details/113251805

  • 4
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值