SandoghdarLab / PiSCAT

PiSCAT is a python-based package with a graphical user interface for performing high-performance analysis on a variety of iSCAT measurements.
https://piscat.readthedocs.io/
GNU General Public License v3.0
20 stars 12 forks source link

Problem running PiSCAT using the tutorials #40

Open masihnajafi02 opened 1 year ago

masihnajafi02 commented 1 year ago

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?