Hi there! My first post was actually looking for something just like this, so I was happy to find this thread.
But it seems the project is out of date, or I’m just doing something wrong. I’m unable to get eyesim to successfully install (Mac) and I’m getting the following error(s).
Collecting eyesim
Using cached eyesim-0.0.3-py3-none-any.whl.metadata (3.0 kB)
Collecting pygame==2.1.2 (from eyesim)
Using cached pygame-2.1.2.tar.gz (10.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using Darwin configuration...
/bin/sh: sdl2-config: command not found
/bin/sh: sdl2-config: command not found
/bin/sh: sdl2-config: command not found
---
For help with compilation see:
https://www.pygame.org/wiki/MacCompile
To contribute to pygame development see:
https://www.pygame.org/contribute.html
---
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-build-env-focvy_qk/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-build-env-focvy_qk/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-build-env-focvy_qk/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-build-env-focvy_qk/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 359, in <module>
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-install-tqtiffsh/pygame_959b8046242a4dbfa93354a48424ed62/buildconfig/config.py", line 225, in main
deps = CFG.main(**kwds)
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-install-tqtiffsh/pygame_959b8046242a4dbfa93354a48424ed62/buildconfig/config_darwin.py", line 132, in main
[DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])],
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/66/xbw0j8k1797bb8cld4_3bk680000gn/T/pip-install-tqtiffsh/pygame_959b8046242a4dbfa93354a48424ed62/buildconfig/config_unix.py", line 39, in __init__
self.ver = config[0].strip()
~~~~~~^^^
IndexError: list index out of range
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Has anyone been able to get this working on a Mac? @Tom_Tolleson how did you do with the install?
Thanks!