[英]Unable to Install Pygame_sdl2 on windows 8.1 64 bit OS
I have created a pygame application. 我已经创建了一个pygame应用程序。 Now I want to create an APK and for that I need to install pygame_sdl2. 现在,我想创建一个APK,为此,我需要安装pygame_sdl2。 However, when I try to install by running python setup.py install I get this error 但是,当我尝试通过运行python setup.py install进行安装时,出现此错误
Traceback (most recent call last):
File "C:\pygame_sdl2-master\setup.py", line 36, in <module>
parse_cflags([ "sh", "-c", "sdl2-config --cflags" ])
File "C:\pygame_sdl2-master\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] The system cannot find the file specified
Any help in this context would be appreciated. 在这方面的任何帮助将不胜感激。
Working for me this way.I downloaded PySDL2-0.9.3.zip file 以这种方式为我工作。我下载了PySDL2-0.9.3.zip文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.