Cloud-CV / EvalAI-Starters

How to create a challenge on EvalAI?
75 stars 158 forks source link

Fix #4324: Add verbose output for pip install errors #89

Open Harshit28j opened 6 months ago

Harshit28j commented 6 months ago

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 commented 6 months ago

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