Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python pip给出错误:Command";python setup.py egg“u info”;失败,错误代码为/tmp/pip-9erwl3ee-build中的1/_Python_Python 3.x_Pygame_Pip - Fatal编程技术网

Python pip给出错误:Command";python setup.py egg“u info”;失败,错误代码为/tmp/pip-9erwl3ee-build中的1/

Python pip给出错误:Command";python setup.py egg“u info”;失败,错误代码为/tmp/pip-9erwl3ee-build中的1/,python,python-3.x,pygame,pip,Python,Python 3.x,Pygame,Pip,我正在尝试通过安装pygame 命令:pip3安装——用户hg+ 但每次它发出错误消息时,“python setup.py egg_info”命令都失败,错误代码为/tmp/pip-9erwl3ee-build中的1/ 我尝试过升级setuptools。 操作系统:初级操作系统洛基 蟒蛇3 我发出的命令: pip安装——用户hg+ 我得到的输出: 收集汞离子 克隆hg到/tmp/pip bhdorcms构建 从命令python setup.py egg_info完成输出: WARNING, No

我正在尝试通过安装pygame

命令:pip3安装——用户hg+

但每次它发出错误消息时,“python setup.py egg_info”命令都失败,错误代码为/tmp/pip-9erwl3ee-build中的1/

我尝试过升级setuptools。 操作系统:初级操作系统洛基 蟒蛇3

我发出的命令:

pip安装——用户hg+

我得到的输出:

收集汞离子
克隆hg到/tmp/pip bhdorcms构建 从命令python setup.py egg_info完成输出:

WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...

/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found

Hunting dependencies...
WARNING: "freetype-config" failed!
SDL     : found 1.2.15
FONT    : found
IMAGE   : found
MIXER   : found
PNG     : found
JPEG    : found
SCRAP   : found
PORTMIDI: found
PORTTIME: found
FREETYPE: not found
Missing dependencies

---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-bhdorcms-build/

我可以在Ubuntu 16.10上确认这种行为

您是否需要最新版本的
pygame
?否则,我建议您这样安装,以获得最新的稳定版本:

pip install pygame

请在运行后发布执行日志。