peri-source / peri

Parameter Extraction from Reconstructing Images
https://peri-source.github.io/peri-docs/
MIT License
9 stars 7 forks source link

Compatiblitity with Qt5 #9

Open MathieuLeocmach opened 5 years ago

MathieuLeocmach commented 5 years ago

On Python3.6 and Qt 5.6, the test named "Import test" fails with ImportError: cannot import name 'QtGui'

I think it means that PERI is not compatible with Qt5, and thus with python 3.6.

However, even reverting to Qt4 and python 3.5.

For information, I used conda to manage my python distribution (including Qt).

briandleahy commented 5 years ago

Hi Matthieu,

Sorry for the super-delayed response; I was in a grant rabbit hole.

Can you provide a little more info on the problem? I'm having a little trouble reproducing the issue. If I run something like

import matplotlib
matplotlib.use('Qt5Agg')
import peri

on python 3.6.7, and I don't get any errors. Can you import peri or is the test just failing?