Okay, now I'm trying to get this working on Xubuntu 20. After some fiddling, I'm up on Python 3.9.13, I have MPF 0.56 and MPF 0.56.1 installed via pipx. I have my game installed. MPF starts just fine. The Media Controller on the other hand does not. I get the following errors:
mpfmc: Mission Pinball Framework Media Controller v0.56.1
mpfmc: Mission Pinball Framework Game Engine v0.56.0
mpfmc: Machine path: /home/jake/OutpostKodelia-DoH
mpfmc: Starting clock at 60.0Hz
kivy: Text: Provider: sdl2
kivy: Window: Provider: x11(['window_sdl2'] ignored)
kivy: Window: Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ModuleNotFoundError: No module named '_ctypes'
File "/home/jake/.local/pipx/venvs/mpf/lib/python3.9/site-packages/kivy/core/__init__.py", line 59, in core_select_lib
mod = importlib.__import__(name='{2}.{0}.{1}'.format(
File "<frozen importlib._bootstrap>", line 1109, in __import__
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/home/jake/.local/pipx/venvs/mpf/lib/python3.9/site-packages/kivy/core/window/window_sdl2.py", line 28, in <module>
from kivy.core.window._window_sdl2 import _WindowSDL2Storage
File "kivy/core/window/_window_sdl2.pyx", line 1, in init kivy.core.window._window_sdl2
File "/usr/local/lib/python3.9/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
x11 - ValueError: invalid literal for int() with base 10: 'False'
File "/home/jake/.local/pipx/venvs/mpf/lib/python3.9/site-packages/kivy/core/__init__.py", line 71, in core_select_lib
cls = cls()
File "/home/jake/.local/pipx/venvs/mpf/lib/python3.9/site-packages/kivy/core/window/__init__.py", line 1071, in __init__
self.create_window()
File "kivy/core/window/window_x11.pyx", line 161, in kivy.core.window.window_x11.WindowX11.create_window
File "/usr/local/lib/python3.9/configparser.py", line 818, in getint
return self._get_conv(section, option, int, raw=raw, vars=vars,
File "/usr/local/lib/python3.9/configparser.py", line 808, in _get_conv
return self._get(section, conv, option, raw=raw, vars=vars,
File "/usr/local/lib/python3.9/configparser.py", line 803, in _get
return conv(self.get(section, option, **kwargs))
I did see something about installing these dependencies, but this uses pip not pipx so I figured it wasn't going to work.
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew;
Any thoughts on how to run that command in a pipx world, or what else I should be looking into? I'm desperately trying to get this running today or early tomorrow, so any help is greatly appreciated!
Thanks,
Kaydee