1

when i run this command : pip install web3

i get this error

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/

but i have already the Microsoft Visual C++

I tried to reinstall it but the same error

  • I got it to work with this solution on another https://stackoverflow.com/a/64262038/9802837 – jdoe Apr 01 '22 at 18:14

2 Answers2

0

Make sure you have 14.0 or greater installed. If you do, try downloading it from the website it says (https://visualstudio.microsoft.com/visual-cpp-build-tools/). You probably have the runtime installed, not the build tools.

0

If you write Microsoft Visual C++, it makes me suspect that you mean Microsoft Visual C++ Redistributable, which does not include tools to build applications written in C++ (a compiler), but only the runtime libraries needed to run applications already compiled.

Make sure that you download and install the build tools.

FlyingTeller
  • 13,811
  • 2
  • 31
  • 45