chilleo / ALPHA

A toolkit for automated local phylogenomic analyses, or ALPHA
MIT License
12 stars 5 forks source link

RuntimeError #2

Open tommydevitt opened 5 years ago

tommydevitt commented 5 years ago

Hi, I've followed the installation instructions, but when trying to open ALPHA I get the following error:

Traceback (most recent call last): File "main.py", line 4, in from PyQt4 import QtGui, QtCore RuntimeError: the sip module implements API v12.0 to v12.6 but the ???? module requires API v11.3

Any suggestions?

Thanks, Tom

chilleo commented 5 years ago

Hi Tom,

I do not have an exact answer right off the bat, but at first glance it seems that sip and pyqt (used for the GUI visualization) are not playing nicely together as their version numbers are going up.

For starters you might see the following SO articles where people have run into similar sip/pyqt installation issues:

https://stackoverflow.com/questions/40159349/runtimeerror-the-sip-module-implements-api-v11-0-to-v11-2-but-the-pyqt5-qtcore https://stackoverflow.com/questions/22589497/pyqt5-sip-api-10-level-error-api-11-required/22896854#22896854

If the info in those resolves it please let me know and I can get the resolution added to the ALPHA FAQ. And if after you are still having problems I may need to find a computer to do a fresh install on that matches your computer's specs (will need the OS you are on, sip and pyqt versions, etc).

Lastly, I just want to make a final note that if you are specifically installing ALPHA to run Dgen, I am about to push a massive change to the Dgen code and GUI inside ALPHA to accompany a paper where we have made several improvements. I expect that paper submission and accompanying git changes push to happen within the next week or so.

tommydevitt commented 5 years ago

Thanks Ryan(?) for your quick response. I'll check out those SO threads and play around with it a bit, but if you're about to push big changes I will wait to spend much more time. Do the big changes include a newer version of pyqt?

Tom

On Thu, Mar 14, 2019 at 12:27 PM chilleo notifications@github.com wrote:

Hi Tom,

I do not have an exact answer right off the bat, but at first glance it seems that sip and pyqt (used for the GUI visualization) are not playing nicely together as their version numbers are going up.

For starters you might see the following SO articles where people have run into similar sip/pyqt installation issues:

https://stackoverflow.com/questions/40159349/runtimeerror-the-sip-module-implements-api-v11-0-to-v11-2-but-the-pyqt5-qtcore

https://stackoverflow.com/questions/22589497/pyqt5-sip-api-10-level-error-api-11-required/22896854#22896854

If the info in those resolves it please let me know and I can get the resolution added to the ALPHA FAQ. And if after you are still having problems I may need to find a computer to do a fresh install on that matches your computer's specs (will need the OS you are on, sip and pyqt versions, etc).

Lastly, I just want to make a final note that if you are specifically installing ALPHA to run Dgen, I am about to push a massive change to the Dgen code and GUI inside ALPHA to accompany a paper where we have made several improvements. I expect that paper submission and accompanying git changes push to happen within the next week or so.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chilleo/ALPHA/issues/2#issuecomment-472976778, or mute the thread https://github.com/notifications/unsubscribe-auth/AL76y2WLcjBRzR9HsBpauJwjLj8pHhtMks5vWoaUgaJpZM4b0tcb .