pip install pygame安装报错解决方案
针对pip install pygame安装报错的两种不同的解决方法:
一:若python中已经安装好了pip,但pip install pygame却报错的话,可以尝试以下步骤:
(1)开始,输入cmd
(2)pip install wheel
(3)pip install pygame
二:另一种出现错误的原因是版本问题,此时下载pygame会出现以下警告:
ERROR: Could not find a version that satisfies the requirement pygeme (from versions: none)
ERROR: No matching distribution found for pygeme
WARNING: You are using pip version 21.2.4; however, version 23.1 is available.
You should consider upgrading via the 'C:\Users\jih\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
针对这种问题,我们只需要把警告引号里面的内容复制下来就可以了,即:
C:\Users\jih\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip
最后,我们就可以成功安装pygame了:
pip install pygame安装报错解决方案相关推荐
- Python 命令pip install pygame安装报错
报错1如下: Traceback (most recent call last):File "c:\users\administrator\appdata\local\programs\py ...
- pip install pyinstaller安装报错
在学习python时,需要用到pyinstal库,将.py文件转化为.exe可执行文件.在windows下cmd命名行中,使用pip install pyinstaller安装,但是在安装时遇到报错: ...
- 【pip install psycopg2安装报错】Error: pg_config executable not found.
背景 在pip install psycopg2-binary 的时候报错了.错误内容如下. Collecting psycopg2-binaryUsing cached psycopg2-binar ...
- python无法安装第三方库read time out_解决pip install的时候报错timed out的问题
安装包的时候报错,执行:pip install pyinstaller 问题: File "c:\python\python35\lib\site-packages\pip\_vendor\ ...
- pygame安装报错
pygame安装报错 : ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or ...
- Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法
Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...
- MVC3安装报错解决方案
MVC3安装报错解决方案 参考文章: (1)MVC3安装报错解决方案 (2)https://www.cnblogs.com/runliuv/archive/2012/05/29/2524692.htm ...
- pip install pygame无法下载的解决方案
代码行尝试以下命令 pip install pygame 显示下面的报错信息 第一步,在网站Archived: Python Extension Packages for Windows - Chri ...
- 金蝶星空cloud安装报错解决方案
在安装金蝶cloud时,安装完成了,但在登陆时,出现如下报错 解决方案: 在数据管理中心 你是否创建了账套,如果没有,就创建一个 你是否关联了站点 假如你的提示是这样子的,无法关联站点, 请检查下 这 ...
最新文章
- elk6.3.1版本+metricbeat监控收集swarm的资源使用情况
- java中load_java之Properties集合中的方法load
- 传输层协议(TCP/UDP)介绍
- iTween基础之Color(变换颜色)
- U-Boot启动过程--详细版的完全分析
- 树莓派+神经计算棒2实时人脸检测
- java全jit编译_JVM即时编译(JIT)(转载)
- mac远程怎么操作?苹果电脑怎么远程协助?
- 第5章--电商项目-mysql实战--数据库主从配置
- 伪验证码(含随机验证码方法)js+css
- LC-871 最小加油次数
- window自带字体
- layui 勾选不联动父项 树形控件_layui树形组件重现勾选过程的办法
- python-装饰器的使用详解
- 实现两直角坐标系转换
- PG14新特性--恢复和VACUUM的加速
- 码元、码元速率、波特率、比特率理解
- 刚学了一个炫酷3D三棱锥立体特效,快来看看
- 乐优商城学习笔记十九-商品详情(二)
- 生活 RH阴性血 AB型