error Microsoft Visual C++ 14.0 or greater is required

I was trying to install Jupyter using pip and it's giving me this error. I've already installed Visual Studio Build Tools 2022 to try fixing this but it didn't work.
building 'psutil._psutil_windows' extension
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/
building 'psutil._psutil_windows' extension
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/
Any suggestions?
2 Replies
Jochem
Jochem2y ago
I think you have to specifically install the C++ build tools from that link visual studio build tools and c++ build tools aren't necessarily the same thing
Satya
Satya2y ago
Alright. I'll try installing that Thanks It worked. Thanks a lot @jochemm