P
P
Pavel Pavel2020-05-30 13:56:01
Python
Pavel Pavel, 2020-05-30 13:56:01

pygame not installing on arch linux?

Pygame won't install
Here's the error:

$ pip install pygame
Defaulting to user installation because normal site-packages is not writeable
Collecting pygame
  Using cached pygame-1.9.6.tar.gz (3.2 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r2i5rljx/pygame/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r2i5rljx/pygame/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-r2i5rljx/pygame/pip-egg-info
         cwd: /tmp/pip-install-r2i5rljx/pygame/
    Complete output (18 lines):
    
    
    WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
    Using UNIX configuration...
    
    
    Hunting dependencies...
    SDL     : found 1.2.15
    FONT    : not found
    IMAGE   : not found
    MIXER   : not found
    PNG     : found
    JPEG    : found
    SCRAP   : found
    PORTMIDI: not found
    PORTTIME: not found
    FREETYPE: found 23.2.17
    Missing dependencies
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


What to do? Googled, nothing helps
python version 3.8.3

UPD: can I force update python to 3.9?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2020-05-30
@Pav3lpy

You have a bunch of uninstalled dependencies.

What to do? Googled, nothing helps

Well, you can try to use off. documentation :
sudo pamac install python-pygame

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question