maxscheurer / pycontact

Analysis of non-covalent interactions in MD trajectories
https://pycontact.github.io/
GNU General Public License v3.0
51 stars 12 forks source link

not running with python2 (dependency PyQt5.Widgets) #60

Closed j0kaso closed 6 years ago

j0kaso commented 6 years ago

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

maxscheurer commented 6 years ago

Hi,

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

conda install pyqt
j0kaso commented 6 years ago

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

maxscheurer commented 6 years ago

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.

j0kaso commented 6 years ago

okay thanks!