Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Issues for Raspbian Buster Install #8

Open
suciokhan opened this issue Aug 17, 2021 · 0 comments
Open

Dependency Issues for Raspbian Buster Install #8

suciokhan opened this issue Aug 17, 2021 · 0 comments

Comments

@suciokhan
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant