¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Problem installing NanoVNA saver on Ubuntu 18.04LTS...


 

Folks,

Have just acquired a NanoVNA - installed on NanoVNA-saver on OSX no problem but I have an old but powerful laptop running Xubuntu 18.04LTS that I want to use as a dedicated workshop machine.

I have tried to follow the instructions here:

When I type "python3.7 nanovna-saver" I get a lengthy tracedump (between the "***"s:

***

Traceback (most recent call last):
File "nanovna-saver.py", line 17 in <module>
from NanoVNASaver.__main__import main
File "/home/XXX/nanovna-saver/NanoVNASaver/__main__.py", line 21, in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: cannot import name 'QtWidgets' from 'PyQt5' (/usr/lib/python3/dist-packages/PyQt5/__init__.py)
Error in sys.excepthook:
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get _recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", ilne 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
File "nanovna-saver.py", line 37, in <module>
from NanoVNASaver.__main__ import main
File "/home/XXX/nanovna-saver/NanoVNASaver/__main__.py", line 21, in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: cannot import name 'QtWidgets' from 'PyQt5' (/usr/lib/python3/dist-packages/PyQt5/__init__.py)

***

I'm not familiar with Python and it appears that something may not have been installed as part of the Python3 installation. I followed the guidance on the github site closely but I don't seem to be able to get past this error.

Grateful for any input.

Best regards,

Ian

--
Amateur Radio Station G8OGJ
Matlock, England
g8ogj.org

Join [email protected] to automatically receive all group messages.