Weeks-UNC / QuShape

QuShape enables efficient, reliable, highly automated, and accurate analysis of high-throughput capillary electrophoresis-detected nucleic acid chemical probing experiments.
https://weekslab.com/software/qushape/
Other
1 stars 1 forks source link

problems with modules #1

Open irinatu opened 2 years ago

irinatu commented 2 years ago

Dear Sir, I tried to run QuSHape on my linux with python3 and pyqt5 (pyqt4 is already not available), while there are problems with dependencies. seqDialogs.py is in Dialogs folder, but it looks like in init.py it should be "from Dialog.seqDialogs import " instead of "from seqDialogs import ". As well as other imported modules

python mainWindow.py Traceback (most recent call last): File "/home/irina/bin/QuShape/src/mainWindow.py", line 1, in from funcMainWin import File "/home/irina/bin/QuShape/src/funcMainWin.py", line 1, in from imports import File "/home/irina/bin/QuShape/src/imports.py", line 40, in from Dialogs import File "/home/irina/bin/QuShape/src/Dialogs/init.py", line 1, in from seqDialogs import ModuleNotFoundError: No module named 'seqDialogs'

Psirving commented 2 years ago

These are valid import statements in Python 2, but not Python 3. You have a few options.

  1. Reinstall QuShape in a Python 2 environment.
  2. Convert the python files to Python 3 using 2to3.py.
  3. Use a newer experimental method such as SHAPE-MaP and analyze with ShapeMapper2. (recommended if possible)

To my knowledge, QuShape has not been updated in about 10 years. You might encounter other issues with compatibility.