mikelval82 / MULTI_GEERT

The MULTI_GEERT module is a graphical user interface (GUI) application designed for real-time monitoring and recording of EEG (electroencephalogram) data from multiple devices. By leveraging the Lab Streaming Layer (LSL) protocol, this application can synchronize and visualize EEG data from various devices within a single interface.
0 stars 0 forks source link

dependence of pyQt4 #1

Open JABarios opened 3 years ago

JABarios commented 3 years ago

I ve tried to run the programme in ubuntu 20.04. polygraph depends on pyQt4 but it cannot be installed with python 3.8

mikelval82 commented 3 years ago

PyQtGraph depends on:

Python 2.7 or Python 3.x
A Qt library such as PyQt4, PyQt5, PySide, or PySide2
numpy

Check if you have pyqt4 installed instead of pyqt5 in your OS. In that case, try to uninstall pyqt4 and install pyqt5 version.

JABarios commented 3 years ago

Traceback (most recent call last): File "/home/juan/.local/lib/python3.8/site-packages/pyqtgraph/Qt.py", line 25, in import PyQt4 ModuleNotFoundError: No module named 'PyQt4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/juan/.local/lib/python3.8/site-packages/pyqtgraph/Qt.py", line 29, in import PySide ModuleNotFoundError: No module named 'PySide'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "MULTI_GEERT.py", line 8, in from GUI.M_GEERT_gui import GUI File "/home/juan/pro/MULTI_GEERT/GUI/M_GEERT_gui.py", line 13, in from GUI.EEG_monitor_wrapper import EEG_monitor_wrapper File "/home/juan/pro/MULTI_GEERT/GUI/EEG_monitor_wrapper.py", line 14, in from QTDesigner.EEG_monitor import Ui_EEG_Viewer as UI File "/home/juan/pro/MULTI_GEERT/QTDesigner/EEG_monitor.py", line 183, in from QTDesigner.Monitor_EEG_plotter import Monitor_EEG_plotter File "/home/juan/pro/MULTI_GEERT/QTDesigner/Monitor_EEG_plotter.py", line 8, in import pyqtgraph as pg File "/home/juan/.local/lib/python3.8/site-packages/pyqtgraph/init.py", line 13, in from .Qt import QtGui File "/home/juan/.local/lib/python3.8/site-packages/pyqtgraph/Qt.py", line 32, in raise Exception("PyQtGraph requires either PyQt4 or PySide; neither package could be imported.") Exception: PyQtGraph requires either PyQt4 or PySide; neither package could be imported.

JABarios commented 3 years ago

arreglado! pip3 install git+https://github.com/pyqtgraph/pyqtgraph@master