maxscheurer/pycontact

not running with python2 (dependency PyQt5.Widgets)

j0kaso opened this issue · 4 comments

Hey,
tried to run pycontact with python2 - installation worked but when I try to start ist, I get the

ImportError: No module named PyQt5.GtWidgets.

Any workarounds?

Thanks,
Johanna

Hi,

did you install PyQt5?
If you're in your conda environment, do:

conda install pyqt

Hey,
no, I tried to install it via pip. Only possible with conda? (do not prefer to have a pip, conda path- mixture)
Thanks!

Unfortunately, pyqt through pip is only available for Python3.

You can also use Python3, the current development version of
PyContact supports it.
Just clone the current develop branch and install via

python setup.py build_ext -i
python setup.py install

in a Python3 environment.

okay thanks!