收集游戏 使用缓存的pygame-1.9.6.tar.gz(3.2MB) 错误:命令出错,退出状态为1: 命令:/usr/bin/python3-c'import sys、setuptools、tokenize;sys.argv[0]=“””/tmp/pip-install-lva53fx4/pygame/setup.py“”文件=''''''''/tmp/pip-install-lva53fx4/pygame/setup.py'''';f=getattr(标记化,“‘打开’”,打开)(文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(编译(代码,文件,“'exec'”)'egg_info--egg base/tmp/pip-install-lva53fx4/pygame/pip egg info cwd:/tmp/pip-install-lva53fx4/pygame/ 完整输出(29行):
WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using UNIX configuration...
/bin/sh: 1: sdl-config: not found
/bin/sh: 1: sdl-config: not found
/bin/sh: 1: sdl-config: not found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found
Hunting dependencies...
WARNING: "sdl-config" failed!
WARNING: "pkg-config freetype2" failed!
WARNING: "freetype-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.
----------------------------------------
错误:命令出错,退出状态为1:
目前还没有官方版本。有一个开发版本:
但我建议你回到3.7然后再等
用这个
sudo apt-get install python3-pygame
相关问题 更多 >
编程相关推荐