【发布时间】:2017-03-08 18:45:48
【问题描述】:
我正在尝试通过
安装 pygame命令:pip3 install --user hg+http://bitbucket.org/pygame/pygame
但每次它都给出错误消息:命令“python setup.py egg_info”在/tmp/pip-9erwl3ee-build/中失败,错误代码为1
我已尝试升级 setuptools。 操作系统:基本操作系统 Loki python3
我给出的命令:
pip install --user hg+http://bitbucket.org/pygame/pygame
我得到的输出:
收集hg+http://bitbucket.org/pygame/pygame
将 hg http://bitbucket.org/pygame/pygame 克隆到 /tmp/pip-bhdorcms-build 命令 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/
【问题讨论】:
-
运行后请贴出执行日志。
标签: python python-3.x pygame pip