Skip to content

relative import #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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