¿Cómo instalo pygame en python3.8? [duplicar]

Aug 18 2020

Recopilando pygame Usando pygame-1.9.6.tar.gz en caché (3.2 MB) ERROR: Comando con error con estado de salida 1: comando: / usr / bin / python3 -c 'import sys, setuptools, tokenize; sys.argv [0] = '"'" '/tmp/pip-install-lva53fx4/pygame/setup.py' "'"'; file = '"'" '/ tmp / pip-install-lva53fx4 / pygame / setup.py' "'"'; f = getattr (tokenize, '"'" 'open' "'"', open) ( archivo ) ; código = f.read (). replace ('"'" '\ r \ n' "'"', '"'" '\ n' "'"'); f.close (); exec (compilar ( código, archivo , '"'" 'exec' "'"')) 'egg_info --egg-base / tmp / pip-install-lva53fx4 / pygame / pip-egg-info cwd: / tmp / pip-install-lva53fx4 / pygame / Salida completa (29 líneas):

WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using UNIX configuration...

/bin/sh: 1: sdl-config: not found
/bin/sh: 1: sdl-config: not found
/bin/sh: 1: sdl-config: not found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found

Hunting dependencies...
WARNING: "sdl-config" failed!
WARNING: "pkg-config freetype2" failed!
WARNING: "freetype-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.
----------------------------------------

ERROR: Comando con error con estado de salida 1:

Respuestas

Hubert Aug 18 2020 at 13:50

por el momento no existe una versión oficial. Hay una versión de desarrollo:

pip install pygame==2.0.0.dev6

pero te recomiendo que vuelvas a 3.7 y esperes.

shyam_gupta Aug 18 2020 at 14:02

Utilizar este sudo apt-get install python3-pygame