Window not showing - pyqt4 errors on ubuntu 16.04

Discuss KerberosSDR - 4x Coherent RTL-SDR
Post Reply
Gosia
Posts: 3
Joined: Wed Feb 03, 2021 11:27 am

Window not showing - pyqt4 errors on ubuntu 16.04

Post by Gosia » Wed Feb 03, 2021 12:27 pm

Hi.
I got KerberosSDR device and followed instructions written on rtl-sdr page. I try to use this software on linux - ubuntu 16.04, not on raspberry.

Everything is installing fine, no errors. I changed IP, unlocked logfiles. But when i run the ./run.sh program is starting in terminal - but nothing more. I can see web software on port 8081, but no program window is showing up.
I checked logs and as I was supposing there was an error in python.log with GUI.

Code: Select all

Traceback (most recent call last):
  File "_GUI/hydra_main_window.py", line 25, in <module>
    import pyqtgraph as pg
  File "/usr/local/lib/python3.7/dist-packages/pyqtgraph/__init__.py", line 13, in <module>
    from .Qt import QtGui
  File "/usr/local/lib/python3.7/dist-packages/pyqtgraph/Qt.py", line 133, in <module>
    from PyQt4 import QtGui, QtCore, uic
ModuleNotFoundError: No module named 'PyQt4.sip'
Searching through the internet i found multiple solutions recommending to:
- install pyqt4 and sip manually - done, no effect. PyQt4 modules work for me, except QtGui which causes error from above
- update upgrade everything - no effect
- check paths for python, alternatives and all that python stuff - everything seems fine, nothing changed.
- reinstalled system and did everything from the scratch - no effect

I am completely out of ideas and haven't seen a solution on this forum. Is there something wrong with my versions of libraries? Do anyone had a similar problem?

ckoval7
Posts: 91
Joined: Fri Sep 27, 2019 8:54 pm

Re: Window not showing - pyqt4 errors on ubuntu 16.04

Post by ckoval7 » Wed Feb 03, 2021 3:56 pm

So you're saying

Code: Select all

sudo apt install python3-pyqt4 pyqt4-dev-tools
didn't work for you?

Any reason not to upgrade to Ubuntu 18.04?

Gosia
Posts: 3
Joined: Wed Feb 03, 2021 11:27 am

Re: Window not showing - pyqt4 errors on ubuntu 16.04

Post by Gosia » Thu Feb 04, 2021 7:37 am

ckoval7 wrote:
Wed Feb 03, 2021 3:56 pm
So you're saying

Code: Select all

sudo apt install python3-pyqt4 pyqt4-dev-tools
didn't work for you?
Yes, didn't help, I still get the same error.
Any reason not to upgrade to Ubuntu 18.04?
If you suggest that could help then I will try.

Gosia
Posts: 3
Joined: Wed Feb 03, 2021 11:27 am

Re: Window not showing - pyqt4 errors on ubuntu 16.04

Post by Gosia » Thu Feb 04, 2021 10:34 am

Thanks for help!
On Ubuntu 18.04 works like a charm.

ckoval7
Posts: 91
Joined: Fri Sep 27, 2019 8:54 pm

Re: Window not showing - pyqt4 errors on ubuntu 16.04

Post by ckoval7 » Thu Feb 04, 2021 12:01 pm

I'm glad that helped. 16.04 is going end of life this year anyway, so it's best to upgrade.

Post Reply