Python pip给出错误:Command";python setup.py egg“u info”;失败,错误代码为/tmp/pip-9erwl3ee-build中的1/
我正在尝试通过安装pygame 命令:pip3安装——用户hg+ 但每次它发出错误消息时,“python setup.py egg_info”命令都失败,错误代码为/tmp/pip-9erwl3ee-build中的1/ 我尝试过升级setuptools。 操作系统:初级操作系统洛基 蟒蛇3 我发出的命令: pip安装——用户hg+ 我得到的输出: 收集汞离子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
克隆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
请在运行后发布执行日志。