我是靠谱客的博主 淡淡豌豆,这篇文章主要介绍CENTOS7 Python3.7 pygame 安装,现在分享给大家,希望可以做个参考。

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

安装出现错误:

复制代码
1
2
3
4
5
6
7
8
9
10
11
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.

解决:

复制代码
1
sudo yum -y install SDL-devel

有出现错误:

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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/

 

 

 

转载于:https://my.oschina.net/mengyoufengyu/blog/2960715

最后

以上就是淡淡豌豆最近收集整理的关于CENTOS7 Python3.7 pygame 安装的全部内容,更多相关CENTOS7内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部