• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

韩工

  • 博客园
  • 管理

公告

View Post

pip安装模块遇到的问题

1)No module named 'pip'

2)Consider using the `--user` option or check the permissions.

建议使用命令:python -m pip install --upgrade pip --user

临时解决办法:pip install urllib -i https://mirrors.aliyun.com/pypi/simple/

长期解决办法:pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/

  

附:国内源

阿里云 https://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) https://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

 

征途漫漫,惟有奋斗!

posted on 2022-10-04 16:30  韩工-Hill  阅读(22)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3