EvalAI-Starters icon indicating copy to clipboard operation
EvalAI-Starters copied to clipboard

Fix #4324: Add verbose output for pip install errors

Open Harshit28j opened this issue 10 months ago • 1 comments

This PR resolves Cloud-CV/EvalAI#4324

Since we're using Python 3.7.5 in EvalAI-Starters, we can use subprocess.run instead of .check_call. This will allow us to capture the output and standard error output, making it more specific and verbose.

Here's how it will look: In this, I used the wrong module name and the wrong package name.

image

This way, we can make it easier to debug.

Harshit28j avatar Apr 03 '24 00:04 Harshit28j

@gchhablani PR opened for https://github.com/Cloud-CV/EvalAI/issues/4324

Harshit28j avatar Apr 03 '24 00:04 Harshit28j