0

I am trying to install pygame by

command: pip3 install --user hg+http://bitbucket.org/pygame/pygame

but everytime it is giving the error msg: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-9erwl3ee-build/

I have tried upgrading setuptools. OS : Elementary OS Loki 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/
1
  • Please post the execution log after running it. Commented Mar 8, 2017 at 18:51

1 Answer 1

1

I can confirm this behavior on Ubuntu 16.10.

Do you need the bleeding-edge version of pygame? Otherwise I would advice you to install it like this instead to get the latest stable version:

pip install pygame
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.