How can I resolve the error "Microsoft Visual C++ 14.0 or greater is required" when installing p5 with pip?

Mean sereyphal 0 Reputation points
2024-06-30T09:10:29.1+00:00

I encountered the following error when attempting to install p5 with pip: "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 have included a screenshot of the error message for reference. How can I resolve this issue?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,769 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 67,016 Reputation points
    2024-06-30T18:06:40.18+00:00

    The pip install requires a c/c++ compiler. It does not install one, you must install it yourself. Use the link to install the compiler.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.