办法解决pygame使用pip安装时出现的错误

pygame使用pip安装时报错,求各位大佬帮忙解决

pip版本22.3.1已升级
setuptools版本65.5.1已升级
Python版本3.11环境变量已添加
使用代码pip install pygame
错误代码如下
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [77 lines of output]

  WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
  Using WINDOWS configuration...

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

物联沃分享整理
物联沃-IOTWORD物联网 » 办法解决pygame使用pip安装时出现的错误

发表评论