PIP MPF 0.8 install, pinproc library missing

37 views
Skip to first unread message

uncivilengineer

unread,
Nov 3, 2024, 12:34:44 AMNov 3
to MPF Users
Ok, ive been making a moderate amount of progress in migrating my project from MPF 0.53 to 0.80. 

Ive think I have just about all the YAML files cleaned up, and I tried to fire up MPF 0.8 tonight and got an unexpected error:  its missing the pinproc library.

I installed MPF 0.8 using PIP on a fresh Ubuntu 24.04 installation.

I installed it with a python 3.11 environment (setup with minconda) running, as I had read that there are issues running on MPF 3.12, but now I don't have the libraries I need to comunicate with my hardware. 

From reading other threads here on the group, this appears to have been an issue with 0.57 as well, but there was more documentation on how to install the drivers that have since been removed from missionpinball.org.  Can anyone point me to a document that can guide me in doing a manual install of my pinproc libraries?
thanks,
--Alan

uncivilengineer

unread,
Nov 3, 2024, 1:05:38 AMNov 3
to MPF Users
Ok after doing a bit more reading I’m wondering if I need to download the MPF Debian Installer and run the proc installer from it.  I’ll try in the morning.

uncivilengineer

unread,
Nov 3, 2024, 11:12:30 AMNov 3
to MPF Users
So I treid to do the install from teh Debian installer this morning.  No luck...  It appears to have ended with the following error:

Traceback (most recent call last):
  File "/home/caw/mpfinstaller/mpf-debian-installer-0.55.x/pypinproc/setup.py", line 2, in <module>
    from setuptools import setup, Extension
ModuleNotFoundError: No module named 'setuptools'

And I still get the library missing error when I try to run MPF:
mpf.exceptions.runtime_error.MpfRuntimeError: Runtime Error in P-Roc: Could not import "pinproc". Either the library is not installed or is missing some of its dependencies. Check the install instructions for your OS in Multimorphic section of the MPF docs. You can run mpf with "-X" to use virtual hardware in the meantime. Error Code: RE-P-Roc-3 (https://missionpinball.org/logs)
Please install the crash_reporter feature to use the MPF crash reporter.
MPF run loop ended.

Im a relative Linux and python newbie, so any help here would be appreciated.

uncivilengineer

unread,
Nov 3, 2024, 11:50:58 AMNov 3
to MPF Users
So I tried a direct install of the pypinproc library directly using the command listed in the installation guide:
cd pypinproc 
python3 setup.py install --user

I found the pypinroc directory (find is a great command line feature), and ran the command.
Is trying to install this under python 3.11 the issue?  Ive attached the text from my install attempt in a separate text document.

MPF is still giving me the missing library message when I try to run it.
pypinprocbuldoutput.txt

uncivilengineer

unread,
Nov 3, 2024, 1:33:03 PMNov 3
to MPF Users
Ok, as an update to this thread for others who have this issue.  I got it to work.  I rebooted my computer after I did the install, and then MPF was able to connect to my P3-ROC.  I can now run MPF directly on the hardware.
Reply all
Reply to author
Forward
0 new messages