Skip to content

Problem running PiSCAT using the tutorials #40

@masihnajafi02

Description

@masihnajafi02

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions