惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
G
Google Developers Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
J
Java Code Geeks
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
量子位
A
About on SuperTechFans
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

博客园 - 陈达辉

win10安装redis 基于SpringBoot的在线教育系统【源码开源】【建议收藏】 eduYouke在线教育点播系统 解决ThinkPHP6 控制器不存在:app\controller\Index - 陈达辉 - 博客园 ubuntu下安装YApi 低版本idea中SpringBoot项目启动失败,提示找不到 javax/servlet/ServletContext类 nginx -s reload 与 service nginx restart 的区别 python 服务器后台运行 Git冲突:commit your changes or stash them before you can merge. 解决办法 安装node、vue相关问题 初学JAVA-10-java代码的组织结构 IntelliJ IDEA 2020.2 破解版(附永久破解激活方法)Java开发者必备的神器 laravel观察者模式使用及注意事项 本地连接虚拟机redis,解决redis connection refused: connect问题 linux如何删除php7 使用vscode开发php nginx: [emerg] open() "/etc/nginx/fastcgi.conf" failed ubuntu php7.2安装php-redis扩展 Ubuntu16.04安装Redis
安装pip install pymysql碰到的问题,升级pip报错:Command &...
陈达辉 · 2021-09-15 · via 博客园 - 陈达辉

安装pip install pymysql碰到的问题

报错信息:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vZoYWX/pip/
You are using pip version 8.1.1, however version 21.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

操作过程:

使用 pip install --upgrade pip 升级失败

使用 python -m pip install --upgrade pip 升级失败

使用 python -m pip install -U --force-reinstall pip 依然失败

使用 pip install --user --upgrade pip 还是失败

解决步骤:

curl https://bootstrap.pypa.io/pip/3.5/get-pip.py -o get-pip.py  注:python命令的话用:https://bootstrap.pypa.io/pip/2.7/get-pip.py

python3 get-pip.py --force-reinstall

更新缓存:hash -r

再执行:pip install pymysql

成功解决!