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

I got a FileNotFoundError: [WinError 2] The specified file cannot be found #157

Open
Nikuu971 opened this issue Jan 28, 2025 · 0 comments
Open

Comments

@Nikuu971
Copy link

Hello, I have a strange error. I followed the tutorial to install pygame_sdl2 for a ren'py project (yeah, it's a pain in the ass).
I did clone the https://github.com/renpy/pygame_sdl2.git
and I did clone the git clone https://github.com/renpy/pygame_sdl2_windeps
I installed cython wheel, setuptools.
I even changed my python version to 36 like on the tuto. I've run python setup.py install the build works,
python setup.py sdist bdist_wheel also works and where it really hurts is on the pip install dist\pygame_sdl2-2.1.0-cp36-cp36m-win32.whl I get the following error:

Traceback (most recent call last):
File "setup.py", line 61, in
parse_cflags([ "sh", "-c", "sdl2-config --cflags" ])
File "C:\Users\memin\Desktop\Personal Project\pygame_sdl2\dist\setuplib.py", line 99, in parse_cflags
output = subprocess.check_output(command, universal_newlines=True)
File "C:\Users\memin\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "C:\Users\memin\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\memin\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\Users\memin\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The specified file cannot be found

Idk what to try :c

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

1 participant