Skip to content

relative import #2

@aaron4444

Description

@aaron4444

(pycxdgui) D:\Software\pycxdgui\pycxdgui>python startGUI.py
Traceback (most recent call last):
File "startGUI.py", line 1, in
from PyQt5 import QtGui
ImportError: No module named 'PyQt5'

(pycxdgui) D:\Software\pycxdgui\pycxdgui>python startGUI.py
Traceback (most recent call last):
File "startGUI.py", line 2, in
from gui.SAXSMainGUI import SAXSGUI
File "D:\Software\pycxdgui\pycxdgui\gui\SAXSMainGUI.py", line 5, in
from ..tools.average import runningaverage
ValueError: attempted relative import beyond top-level package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions