安装python 3.5.0 遇到 pip no module问题 解决办法

博客介绍了使用pip更换Python国内源的操作,给出了具体命令pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple ,可帮助用户更高效地进行Python包的安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

不做解释了 按着来就行

PS C:\Users\msdxh> python -m ensurepip
Ignoring indexes: https://pypi.python.org/simple
Requirement already satisfied (use --upgrade to upgrade): setuptools in d:\soft\python 3.5\lib\site-packages
Collecting pip
Installing collected packages: pip
Successfully installed pip-7.1.2
PS C:\Users\msdxh> python -m pip install --upgrade pip
Collecting pip
  Using cached https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 7.1.2
    Uninstalling pip-7.1.2:
      Successfully uninstalled pip-7.1.2
Successfully installed pip-20.2.4

更换国内院,自己翻q掠过
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值