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

sdl2 setup,py install #51

Closed
Burgess168 opened this issue Jun 6, 2016 · 5 comments
Closed

sdl2 setup,py install #51

Burgess168 opened this issue Jun 6, 2016 · 5 comments

Comments

@Burgess168
Copy link

Hi, I follow instruction to install sdl2, but have files can't be found issue. Did I miss something? The python is 2.7.11 in windows 10. Below is the message from system. Thanks.

C:\pygame_sdl2-2.1.0a2016.06.04>python setup.py install
Traceback (most recent call last):
File "setup.py", line 47, in
parse_cflags([ "sh", "-c", "sdl2-config --cflags" ])
File "C:\pygame_sdl2-2.1.0a2016.06.04\setuplib.py", line 93, in parse_cflags
output = subprocess.check_output(command, universal_newlines=True)
File "C:\Python27\lib\subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, _popenargs, *_kwargs)
File "C:\Python27\lib\subprocess.py", line 710, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2]

@renpytom
Copy link
Member

renpytom commented Jun 6, 2016

Yes, it looks like you don't have the windows dependencies present.

@Burgess168
Copy link
Author

Thanks. It should not have this kind of thing, because it always updating by itself. I never have this experience. I will try to figure out what's happened on windows 10 and update again if there is correct answer.
BTW, if back to windows 7 with pygame_sdl2, is it better than Win10 now or do you have any advice if this issue can't be solved?

@okbalefthanded
Copy link

okbalefthanded commented Nov 6, 2016

I'm in the same situation, I had cloned the pygame_sdl2_windeps repo in the same parent folder where I previously cloned the pygame_sdl2 repo, when I run the setup command:
python setup.py install
I got the similar windowsError : [Error2] the system cannont find the file specified

@okbalefthanded
Copy link

I figured out how to install the lib by using the nightly build source.

@ghost
Copy link

ghost commented Feb 14, 2017

Hi I'm also having this problem and I have tried using the nightly build but that hasn't worked either. Could someone please explain what I should do to resolve this?

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

3 participants