Capture and log pip install error output #7200
I've seen lots of people in the forum having problems installing dependencies from time to time. Today we merely get a "failed to install XXX" error which doesn't give any details on why the installation failed. With this change, stderr is caught from pip and logged if an error occurred. This way it's easier to see what actually went wrong.
Simulated failure might look like this:
If the code does not interact with devices: