我是靠谱客的博主 激昂丝袜,最近开发中收集的这篇文章主要介绍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 Python3.7 pygame 安装所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部