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
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
Copyright © 2021 Jogjafile Inc.
The error occurs because the file Disaster.ui does not exist in the current folder (i.e. wherever you're executing
pyuic5from). To prove this, executedir *.ui.To fix it, either
cdto the relevant folder, or use an absolute path instead.