Are you running the script in a terminal of notebook?
The latter might hide the actual error message?
Also, how did you verify that your power supply issue is solved?
Are the GPUs running fine on their own?