I just went through setup yesterday and fought that error.
Mpf-mc would not build and install, I needed to download Microsoft Build Tools and install the C++ Desktop Development tools. Maybe there's a way to install the specific components required but I couldnt figure that out.
This requirement is missing from the installation instructions.
--
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/cba517ab-a068-4b87-a63d-8ac25eae97d9n%40googlegroups.com.
ChatGPT has it exactly right. I wrote the following up for the other thread before I saw the answer in this one. It would still be interesting to know if you’re on 0.80.0.dev6 and ran into this problem.
——————
The quick fix is to run: ‘pip install setuptools’
Anthony fixed the underlying issue causing this a little while ago, and I do see 0.80.0.dev6 (which has the fix) on pypi, so I would have expected ‘pip install mpf —pre’ to have gotten you past this issue. Hmmm. If my suggested fix works for you, would you mind running ‘mpf —version’ in the same window that you installed setuptools, and letting us know what version you’re seeing?
Progress! I’m not an expert at python package management, but my guess is that is that you had the old version installed some time ago and the new install commands saw that and ended up deciding not to upgrade.
I think ‘pip install mpf —pre —upgrade’ (double dashes, sorry, my editor really wants to combine them lol) should upgrade to 80 dev6.
If that doesn’t work, you can ‘pip uninstall mpf’ and then try the —pre install again.
It’s also possible that you have multiple python versions installed or a python virtual env with the right stuff that just needs to be activated. Hopefully not, because that’s a good bit deeper to get into here, but if you’re still stuck I would suggest some pretty thorough readings of https://missionpinball.org/latest/install/virtual-environments/ and the docs pages from the same section. If you do have some yaml project code from before .80, there is also an upgrade guide page in the same section to help move forward.