v0.57 clean install generates warning and run-time errors

40 views
Skip to first unread message

Steve Trischetta

unread,
Dec 24, 2025, 4:53:33 PM12/24/25
to MPF Users
On a clean Windows 10 Pro, I installed Python 3.9.13 as admin.
I created and activated a virtual environment and ran the following:

python –m pip install –-upgrade pip
pip install --upgrade pip setuptools  
pip install mpf-mc  (This also installs mpf)
pip install mpf-monitor

When I issue "mpf --version", I get the following warning:

(mpf57) C:\VENV\mpf57>mpf --version

C:\VENV\mpf57\lib\site-packages\mpf\commands\__init__.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

  from pkg_resources import iter_entry_points

Mission Pinball Framework v0.57.3

Any idea how to avoid this or suppress this warning?

Issue #2: When running "mpf both" for my test game, I get the following run-time errors:

(mpf57) C:\Pinball\testgame>mpf both

C:\VENV\mpf57\lib\site-packages\mpf\commands\__init__.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

  from pkg_resources import iter_entry_points

C:\VENV\mpf57\lib\site-packages\mpf\commands\__init__.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

  from pkg_resources import iter_entry_points

Verify Chip ID took too long to receive data

 

(python.exe:8208): GStreamer-WARNING **: 16:39:16.381: Failed to load plugin 'C:\VENV\mpf57\share\gstreamer\bin\gioopenssl.dll': 'C:\VENV\mpf57\share\gstreamer\bin\gioopenssl.dll': The specified module could not be found.

 

(python.exe:8208): GStreamer-WARNING **: 16:39:22.592: Failed to load plugin 'C:\VENV\mpf57\share\gstreamer\bin\gstrtmp.dll': 'C:\VENV\mpf57\share\gstreamer\bin\gstrtmp.dll': The specified module could not be found.

 

(python.exe:8208): GStreamer-WARNING **: 16:39:25.631: Failed to load plugin 'C:\VENV\mpf57\share\gstreamer\bin\librtmp-1.dll': 'C:\VENV\mpf57\share\gstreamer\bin\librtmp-1.dll': The specified module could not be found.

 

(python.exe:8208): GStreamer-WARNING **: 16:39:25.921: Failed to load plugin 'C:\VENV\mpf57\share\gstreamer\bin\gioopenssl.dll': 'C:\VENV\mpf57\share\gstreamer\bin\gioopenssl.dll': The specified module could not be found.

 

(python.exe:8208): GStreamer-WARNING **: 16:39:25.937: Failed to load plugin 'C:\VENV\mpf57\share\gstreamer\bin\gstrtmp.dll': 'C:\VENV\mpf57\share\gstreamer\bin\gstrtmp.dll': The specified module could not be found.

 

(python.exe:8208): GStreamer-WARNING **: 16:39:25.951: Failed to load plugin 'C:\VENV\mpf57\share\gstreamer\bin\librtmp-1.dll': 'C:\VENV\mpf57\share\gstreamer\bin\librtmp-1.dll': The specified module could not be found.

Shutdown reason: SIGINT or keyboard interrupt

 

(mpf57) C:\Pinball\testgame>

Please help.

Steve



Anthony van Winkle

unread,
Dec 29, 2025, 8:04:30 PM12/29/25
to MPF Users
The setuptools warning is not something I've seen before but it's expected I guess, that's an older version of setuptools and not all packages will be migrated. It's still rendering the correct version number, so that much is good.

For the MC issues, unfortunately MC has a lot of annoying dependencies and libraries it needs installed—looks like your environment is currently complaining about GStreamer. I've not done a Windows setup of MC in many many years and don't recall the procedure, hopefully somebody here may be able to assist or you could do some sleuthing for installing GStreamer libraries for Python on Windows. Good luck!

Max Power

unread,
Jan 16, 2026, 9:11:55 PM (5 days ago) Jan 16
to mpf-...@googlegroups.com
Just set up a new mpf pc.

For the issues compiling mpf-mc, download the visual C++ build tools manager from the error message.

In the installer go to Individual Components and select:
MSVC Build Tools for x64/x86
Windows 11 SDK (10.0.22621.0)

--
You received this message because you are subscribed to the Google Groups "MPF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpf-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mpf-users/7f390895-d7a1-435e-9ce1-d88b1d17a49dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages