You are not logged in.
Pages: 1
I am using a python virtual environment()
bin ➤ ./pip install pygame
Collecting pygame
Using cached pygame-1.9.6.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /home/y0s1/lab/Game/Games/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8yglowol/pygame/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8yglowol/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-pip-egg-info-hp664dky
cwd: /tmp/pip-install-8yglowol/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.
bin ➤ ./python --version
Python 3.8.6
bin ➤ ./pip --version
pip 20.2.3 from /home/y0s1/lab/Game/Games/venv/lib/python3.8/site-packages/pip (python 3.8)
Last edited by y0s1 (2020-10-08 09:22:30)
Offline
Any reason you're not using: https://www.archlinux.org/packages/comm … on-pygame/ ? In any case, look at/install dependencies of that package.
Also please edit your post and wrap the command outputs in [ code ] [ /code ] tags without the spaces.
Offline
Because i use pip...
If you use pacman, it will be installed to the system directory, but I usually just install it to my user directory.
Offline
Well depending on what you do this might be prefered, but the rest of the answer doesn't change anyway, you need to install the relevant system dependencies regardless of what you do (... these aren't strictly python deps and are thus not inherently handled by pip)
Last edited by V1del (2020-10-09 08:45:48)
Offline
See the (build)deps for the arch pygame package, or use wheels.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Also please edit your post and wrap the command outputs in [ code ] [ /code ] tags without the spaces.
y0s1, this is the second thread where you have been asked to edit your post and use code tags. Ignoring moderators is not a good idea.
https://wiki.archlinux.org/index.php/Co … s_and_code
https://bbs.archlinux.org/help.php#bbcode
Offline
Pages: 1