P
P
P0tapych2018-03-24 01:51:22
Python
P0tapych, 2018-03-24 01:51:22

How to install pygame?

Hello, please help me to install pygame.
python3 -m pip install -U pygame --user
But it writes an error:
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var /folders/3d/zn4dj8m516l9ds4j9_cgsvyh0000gp/T/pip-build-jla4oapt/pygame/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\ r\n', '\n'); record/install-record.txt --single-version-externally-managed --compile --user --prefix="

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
P0tapych, 2018-03-24
@P0tapych

Found it and installed it. Doesn't help
Warning: mercurial 4.5.2 is already installed
Warning : sdl 1.2.15 is already installed
Warning : sdl_image 1.2.12_7 is already installed 217_1 is already installed On "sudo pip3 install hg+ bitbucket.org/pygame/pygame " also swears:
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-zmtpvtdt-build/setup.py';f =getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-1r0dy2in-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/ pip-zmtpvtdt-build/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question