Search code examples
pythonvisual-c++pipweb3py

pip install web3 | error: Microsoft Visual C++ 14.0 or greater is required


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


Solution

  • 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.