CFN-softbio / pycxdgui

0 stars 2 forks source link

relative import #2

Open aaron4444 opened 6 years ago

aaron4444 commented 6 years ago

(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 commented 6 years ago

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