我試圖通過Python的PIP提供了錯誤:命令 「蟒蛇setup.py egg_info」 在/ tmp/PIP-9erwl3ee建造,錯誤代碼無效1/
command: pip3 install --user hg+ http://bitbucket.org/pygame/pygame
安裝pygame的,但每次它給錯誤信息:命令「python setup.py egg_info」失敗,錯誤代碼1在/ tmp/pip-9erwl3ee-build/
我試過升級setuptools。 OS:小學OS洛基 python3
command I give:
pip install --user hg+ http://bitbucket.org/pygame/pygame
Output I get:
Collecting hg+ http://bitbucket.org/pygame/pygame
Cloning hg http://bitbucket.org/pygame/pygame to /tmp/pip-bhdorcms-build Complete output from command 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/
請在運行後發佈執行日誌。 – nir0s