我是靠谱客的博主 激昂丝袜,这篇文章主要介绍python3.7如何安装pygame_CENTOS7 Python3.7 pygame 安装,现在分享给大家,希望可以做个参考。

安装出现错误:

WARNING, No "Setup" File Exists, Running "config.py"

Using UNIX configuration...

/bin/sh: sdl-config: command not found

/bin/sh: sdl-config: command not found

/bin/sh: sdl-config: command not found

Hunting dependencies...

WARNING: "sdl-config" failed!

WARNING: "pkg-config freetype2" failed!

Unable to run "sdl-config". Please make sure a development version of SDL is installed.

解决:

sudo yum -y install SDL-devel

有出现错误:

WARNING, No "Setup" File Exists, Running "config.py"

Using UNIX configuration...

Hunting dependencies...

WARNING: "pkg-config freetype2" failed!

SDL : found 1.2.15

FONT : not found

IMAGE : not found

MIXER : not found

PNG : found

JPEG : found

SCRAP : found

PORTMIDI: not found

PORTTIME: not found

FREETYPE: found 2.4.11

Missing dependencies

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-ln87l5bh/pygame/

最后

以上就是激昂丝袜最近收集整理的关于python3.7如何安装pygame_CENTOS7 Python3.7 pygame 安装的全部内容,更多相关python3.7如何安装pygame_CENTOS7内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(57)

评论列表共有 0 条评论

立即
投稿
返回
顶部