'pyuic5 not finding file

I am learning PyQt5, and while converting a ui to py, it throws this error:

Error: No such file or directory: "Disaster.ui"

The file name is Disaster.ui. The command is:

pyuic5 -x Disaster.ui -o abc.py


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source