Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Issues #98

Open
aman-rahman786 opened this issue Jan 2, 2021 · 3 comments
Open

Installing Issues #98

aman-rahman786 opened this issue Jan 2, 2021 · 3 comments

Comments

@aman-rahman786
Copy link

aman-rahman786 commented Jan 2, 2021

ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ifle32uo/pygame/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ifle32uo/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-wrwc9ml1 cwd: /tmp/pip-install-ifle32uo/pygame/ Complete output (20 lines):

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                                      
/bin/sh: 1: pkg-config: not found                                      
/bin/sh: 1: pkg-config: not found                                      
/bin/sh: 1: pkg-config: not found                                      
/bin/sh: 1: freetype-config: not found                                 
/bin/sh: 1: freetype-config: not found                                 
/bin/sh: 1: freetype-config: not found                                 
Unable to run "sdl-config". Please make sure a development version of SDL is installed.                                                           
                                                                       
Hunting dependencies...                                                
WARNING: "sdl-config" failed!                                          
WARNING: "pkg-config freetype2" failed!                                
WARNING: "freetype-config" failed!                                     
----------------------------------------                               

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.`

I have recieved this error numerous times while trying to install the requirements.txt
Could someone please assist.
Thanks

@trojblue
Copy link

trojblue commented Jan 4, 2021

I got the exact same errors while trying to install it on kali in VMware
vmware_bfclMWlqaX

@goshawk22
Copy link

goshawk22 commented Jan 5, 2021

Try installing libsdl1.2-dev which should provide sdl-config.
If not, try installing the binary package for pygame: sudo apt-get install python3-pygame

@RickyHunter024
Copy link

#78 look at last 2 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants