Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative import #2

Open
aaron4444 opened this issue Mar 13, 2018 · 1 comment
Open

relative import #2

aaron4444 opened this issue Mar 13, 2018 · 1 comment

Comments

@aaron4444
Copy link

(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

@aaron4444
Copy link
Author

Ok, so if i change a bunch of things it works.....take a while to debug.

i had to mess with TOOLS, MASK, i had to install pyqt5 instead of pyqt4

install scikit-beam thru conda forge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant