I got this issue that I can use the command python -m piscat in this path:"C:\Users\snajafi\Desktop\piscat"
I can also use it in this path: "C:\Users\snajafi\Desktop\piscat\PiSCAT\piscat"
and it runs perfectly in both cases and brings up the GUI.
But in this path "C:\Users\snajafi\Desktop\piscat\PiSCAT" If I run it I get this error: "AttributeError: module 'PySide6.QtGui' has no attribute 'QMainWindow' "
So what's the problem with it because if it's installed and has python and piscat in its environment it should work properly in either of the directories because it's just gonna load the module, what's the difference, and if there was a problem why it runs without problem in both the PiSCAT directory's parent and child?
I got this issue that I can use the command python -m piscat in this path:"C:\Users\snajafi\Desktop\piscat" I can also use it in this path: "C:\Users\snajafi\Desktop\piscat\PiSCAT\piscat" and it runs perfectly in both cases and brings up the GUI. But in this path "C:\Users\snajafi\Desktop\piscat\PiSCAT" If I run it I get this error: "AttributeError: module 'PySide6.QtGui' has no attribute 'QMainWindow' " So what's the problem with it because if it's installed and has python and piscat in its environment it should work properly in either of the directories because it's just gonna load the module, what's the difference, and if there was a problem why it runs without problem in both the PiSCAT directory's parent and child?