Visual C++ 14 missing when trying to install mpf-mc

95 views
Skip to first unread message

Romain RAT

unread,
Mar 20, 2024, 8:56:45 PM3/20/24
to MPF Users
Hi everyone,
I'm currently facing an issue when installing mpf-mc though the pip install mpf-mc command.
The final error I get is:
"error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/"

I removed all the previous version of Vusial C++ to ensure there was no clonflicts.
I now only have the version 14.38.33135 for both x64 and x86 even if I assume mpf is using the x64 one.

VisualC++.png

I also tried using pip install mpf-mc --pre as some people did.
It didn't work.

Full log is in attached file if needed.

Hope to find a way to resolve that issue :)
Log_Mpf-mc_visualC++.txt

Avery Tummons

unread,
Mar 20, 2024, 9:06:34 PM3/20/24
to mpf-...@googlegroups.com
Dumb suggestion. If you haven’t already restart your computer.
Sent from my iPhone

On Mar 20, 2024, at 7:56 PM, Romain RAT <romai...@gmail.com> wrote:

Hi everyone,
I'm currently facing an issue when installing mpf-mc though the pip install mpf-mc command.
The final error I get is:
"error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/"

I removed all the previous version of Vusial C++ to ensure there was no clonflicts.
I now only have the version 14.38.33135 for both x64 and x86 even if I assume mpf is using the x64 one.

<VisualC++.png>


I also tried using pip install mpf-mc --pre as some people did.
It didn't work.

Full log is in attached file if needed.

Hope to find a way to resolve that issue :)

--
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 on the web visit https://groups.google.com/d/msgid/mpf-users/87a009b3-ecda-470b-b92e-b450873c64cdn%40googlegroups.com.
<Log_Mpf-mc_visualC++.txt>
<VisualC++.png>

Romain RAT

unread,
Mar 21, 2024, 8:44:58 PM3/21/24
to MPF Users
I did, thanks for calling me dumb.
I managed to make it work using the microsoft C++ builds tool and installing way too much C++ packets because I don't know which one makes it work.

That discussion can be closed.

TheLegoMoviePinball

unread,
May 10, 2025, 12:05:54 PM5/10/25
to MPF Users
Hi Romain, 

I had to install the whole "visual studio community 2022" to make it work.
Did you find something simplier ?

Max Power

unread,
May 10, 2025, 3:04:26 PM5/10/25
to mpf-...@googlegroups.com

You need to download the VS build tools installer, and it seems like the required options are the CMake tools and Windows SDK.  Not 100% sure but ive gotten it running using just that installer.


Reply all
Reply to author
Forward
0 new messages