Replies: 7 comments 1 reply
-
In order to build the MC on Windows, you'll also need to install the kivy-deps dev packages (be sure to install the matching version numbers as the runtime packages): |
Beta Was this translation helpful? Give feedback.
-
Quinn, Thanks for that. That got me over hurdle number one. Now onto the next one, the different packages are requiring different version of psutil and ruamel between MPF, MPF-MC, and MPF Monitor. Thus when putting each of the three into editable mode, they break each other. MPF-MC and MPF Monitor appear to work fine. But then when getting MPF into editable mode it throws the following.
Should they all be the same thing? Or should I be making MPF editable, then manually installing the correct version, then making MPF and MPF Monitor editable? The only reason that I really care is because now I can't launch Monitor on my computer, it goes to try and find MPF in a folder called Monitor and yells it can't find the config. This worked prior to me getting MPC-MC installed in editable using your guidance above. |
Beta Was this translation helpful? Give feedback.
-
So I started all the way over. Uninstalled everything (Python included). I can install by the docs, and it all works. I set mpf to editable with pip3 install -e . and then when I try to run the game I get
I am following the Contributing to MPF document, which I last updated. So I know that it is right for how it was in 0.55. @toomanybrians anything need to change with that structure after going to pipx with 0.56? It works up until I put mpf in editable mode, then everything breaks for various reasons. |
Beta Was this translation helpful? Give feedback.
-
I have completely wiped everything, and restarted about 5 times to no avail. I am now getting this error about Cython, which repeats for every call in any .pxd file
Ultimately it leads to this (sorry for the long post, but I think the main thing is that its erroring out and tells me I can try legacy behavior. I do not know what that's exactly asking me to do. My big question is has anyone gotten this working on 0.56 on a Windows machine? Because I am missing something blatantly obvious or some direction is missing along the way and it is tripping up my steps to get this up and running. I can get it in user mode, but not editable mode. The second I install MPF in editable, everything breaks.
|
Beta Was this translation helpful? Give feedback.
-
Quinn, Thanks for that. I am just following the instructions here: https://docs.missionpinball.org/en/stable/about/contributing_to_mpf.html Can you walk me through the steps you do for that? I am planning to modify some python files there, but right now I can't get it to work at all so my changes are 0% of getting anything done. I have my fork synced down to my machine, which I can access through PyCharm. I installed via pipx per Brian's new instructions and injected mpf-mc and monitor into that. Then from my forked repo of MPF set it editable mode, then ... to get mpfmc working. Right now when trying to run |
Beta Was this translation helpful? Give feedback.
-
So I got things moved one step forward. After uninstalling the VS 2019 build tools and downloading 2022 it is now getting through install (installed MSVC 14.0, 10SDK (newest version), which is the same as I had before. Now I have MPF and Monitor running as expected. MC still throwing a fit about some of the Cython/C stuff it appears. When I open it up in PyCharm there are red squiggles under libc, cimport, cpython. So something appears to be missing with that. Can I just inject into my venv for that? Any ideas?
|
Beta Was this translation helpful? Give feedback.
-
Sorry to bombard with my continued saga here, but this is really frustrating! I am in my local repo of mpf-mc: C:\Users\atummons\Desktop\mpf\mpf-mc When I run When I run Does anyone have any thoughts? Anyone want to be a guinea pig and follow the directions here to see if it works for them? https://docs.missionpinball.org/en/stable/about/contributing_to_mpf.html I can get MPF to work in editable, but the second I try to get MPF-MC in editable mode, it crashes with the error in the previous post. |
Beta Was this translation helpful? Give feedback.
-
In 0.55, I had editable versions of MPF and MPF-MC for development; however, it now is not working with 0.56. MPF works, but MPF-MC does not. It gives the following error complaining about gstreamer-1.0, whereas the dependency is 0.3.3 through kivy. Not sure what is wrong here.
Beta Was this translation helpful? Give feedback.
All reactions