PIP MPF 0.8 install, pinproc library missing

82 views
Skip to first unread message

uncivilengineer

unread,
Nov 3, 2024, 12:34:44 AM11/3/24
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 AM11/3/24
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 AM11/3/24
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 AM11/3/24
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 PM11/3/24
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.

Justin Rausch

unread,
Dec 22, 2024, 5:42:48 PM12/22/24
to MPF Users
Is there a chance you can describe further what you did here? I am not a Linux user so I am not sure what you did. 
I think am at the same point as you were (install failed due to setuptools). 


"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."



uncivilengineer

unread,
Aug 29, 2025, 1:40:17 PM (9 days ago) Aug 29
to MPF Users
Ok, I know its been months, but I had to do a re-install of MPF today because my SSD failed in my computer that is in my pinball machine.  I came across this old entry and I decided it needed to be updated.   I am running Ubuntu, and here is what I had to do to get my P3-ROC system up and running.

1.  get your Python Environment setup and install MPF 0.8 Via PIP.  In my case I use conda, and my development environment is Python 3.11.
2. download the  Debian Installer from the MPF website.  Extract it to a convenient location on your system.  Once that install unpacks, you should see a file named "install-proc" in the debian installer directory.
3.  Open a terminal, and activate your python environment.
4.  change directory to the directory you unpacked the debian installer into.  
5.  run the command "chmod +x install-proc && ./install-proc"  This is going to end in an error (but its ok).
6.  the install-proc command should have created a directory in your debian install directory called "pypinproc"
7.  run "cd pypinproc"
8.  run " python3 setup.py install --user"  This should setup the P3-roc communication environment.
9. reboot the machine, and test your MPF.  You can do this by navigating to your pinball machine folder and typing at the command line "mpf hardware scan".  This command should return the PFGA Chip Id of your P3-roc board, and a list of all the swtich boards attached.
Reply all
Reply to author
Forward
0 new messages