Install PROC fails without error with fresh install of Ubuntu 20 Python 3.8. Work around? #94
-
Has anybody successfully installed MPF for P3-ROC in recent months? I knew there are python issues so attempted to replicate my last install from my working homebrew. I started with a fresh install of Ubuntu 20.04 which installs MPF friendly Python 3.8. I had a download of the MPF installer from the same time period (about 3 years ago). I went through the installer's steps line by line installing the mpf dependencies, the mpfmc dependencies and finally each of the apps in turn. I specifically forced MPF to install the version I'm using on the older machine 0.55.dev.xx. All install steps went out to the net did their downloading magic and installed without error. Finally, I ran install-proc. It did its downloading and make steps. It too appeared to install fine. Everything looked great. But, I received the same error other people are getting on other platforms and more modern versions of linux, namely IBM seeing ModuleNotFoundError: No module named 'pinproc' Running mpf -x works fine so I believe mpf to be solid. It's just missing the module but without any errors I'm currently lost as to how to rectify. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I friend on another forum found a solution for my problem. I'm posting it here for others who may find it helpful. The last substantive command in the install-proc script is: |
Beta Was this translation helpful? Give feedback.
I friend on another forum found a solution for my problem. I'm posting it here for others who may find it helpful. The last substantive command in the install-proc script is:
sudo python3 serup.py install
My fix was to change the line to remove sudo and add --user so that it now reads:
python3 setup.py install --user
Then I saved the script gave it authority to execute with sudo chmod + x install-proc and executed it telling it YES to delete the old directories. Note that just running the revised line outside the script failed to correct the problem. After running the script I was able to confirm that the script now had pinproc properly plugged into MPF and working.