error originates from subprocess, likely not problem of pip – Code Example

Total
0
Shares

Python throws error: This error originates from a subprocess, and is likely not a problem with pip when there is some issue with installed pip version. When Python updates pip, there are some breaking changes which could lead to incompatibility with old libraries. If something stop working in those libraries, pip throw this error that it’s not a problem with pip.

Generally such issues are solved by downgrading pip version to the last working one. Since the issue is with compatibility so the libraries need to change their code in order to support new pip. This takes time. So, it’s better to downgrade and keep the project running and keep an eye on the progress of library.

If you are getting 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/ it means you need to install C++.

Solution

Installing working version of pip

pip install pip==21.3.1