You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following directions for expanded_xml branch doing an install to an RPI 4 B running Raspbian Buster, and I can't get it to serve the configuration gui to port 8080/init, but Dsiplay GUI on 8081 works fine.
I enabled logging and noticed an import error in the python.log, saying it can't import pyqtgraph.
Then I jumped into Python interpreter and when I tried to import it, it said I have to have pyqt5 + ...uh oh. After a bunch more poking, I think I see what you meant by saying Pyqt5 is for Ubuntu 20.04+ version. Assuming an earlier version of pyqtgraph would be compatible with pyqt4, I tried this:
pip3 install pyqtgraph==0.10.0 (released in 2016)
Now in Python, I can import pyqtgraph without an issue, so I thought this would solve my problems.
However, when I launch ./run.sh, I still see the same error in my logs:
Traceback (most recent call last):
File "_GUI/hydra_main_window.py", line 25, in <module>
import pyqtgraph as pg
ModuleNotFoundError: No module named 'pyqtgraph'
I then looked in requirements.txt and it says I need pyqt4==4.11.4, but it appears pyqt4 is not available via pip3, though apt install python3-pyqt4 gives me version 4.12.1.
Any ideas on how to get this working on RPI 4 B with Raspbian Buster? Does it have to be a full-on Ubuntu 18.04/20.04 or is there some other lighter-weight OS that I can put on the RPI that will work with this?
The text was updated successfully, but these errors were encountered:
Following directions for
expanded_xml
branch doing an install to an RPI 4 B running Raspbian Buster, and I can't get it to serve the configuration gui to port 8080/init, but Dsiplay GUI on 8081 works fine.I enabled logging and noticed an import error in the python.log, saying it can't import pyqtgraph.
Then I jumped into Python interpreter and when I tried to import it, it said I have to have pyqt5 + ...uh oh. After a bunch more poking, I think I see what you meant by saying Pyqt5 is for Ubuntu 20.04+ version. Assuming an earlier version of pyqtgraph would be compatible with pyqt4, I tried this:
Now in Python, I can import pyqtgraph without an issue, so I thought this would solve my problems.
However, when I launch
./run.sh
, I still see the same error in my logs:I then looked in requirements.txt and it says I need pyqt4==4.11.4, but it appears pyqt4 is not available via pip3, though apt install python3-pyqt4 gives me version 4.12.1.
Any ideas on how to get this working on RPI 4 B with Raspbian Buster? Does it have to be a full-on Ubuntu 18.04/20.04 or is there some other lighter-weight OS that I can put on the RPI that will work with this?
The text was updated successfully, but these errors were encountered: