pytrip / pytripgui

Official platform-independent PyTRiP graphical user interface
https://pytrip.github.io/pytripgui/
GNU General Public License v3.0
11 stars 4 forks source link

PyQt on python 3.7 #391

Open michal367 opened 3 years ago

michal367 commented 3 years ago

When using python 3.7 there is also used old version of PyQt. Because of that there is error in viewcanvas_view.py file

https://github.com/pytrip/pytripgui/blob/8d059fb7d1e479f355dc85c08ecec00f753d51cb/pytripgui/viewcanvas_vc/viewcanvas_view.py#L142

obraz

grzanka commented 3 years ago

True, on Python 3.7 there is older pyqt5: https://github.com/pytrip/pytripgui/blob/master/setup.py#L25

grzanka commented 3 years ago

@michal367 you can make a test and try to relax dependency on pyqt5 in setup.py and requirements.txt. Use newest pyqt5 for python 3.7 and check if tests are passing