Ken,
you may find
/g/nanovna-users/files/Nano%20VNA%20Saver/nanoVNA-H4%20software%20support%20under%20Ubuntu.pdf to be useful. It explains how to set up a Python virtual environment (PVE), effectively an isolated Python install that runs independently of the main system's Python. The PVE sounds complicated, but is quite quick to set up if following instructions *exactly*. Essentially you can run different versions of Python, even different configurations of the same version of Python, quite independently of one another.
The instructions on Github are not written from the point of view of a na?ve user. The document in the files area is built on other people's work, and is "obvious", but only *after* one has researched the solution!
You may well need the PVE solution even on Ubuntu &c. 20.04.
HTH, 73, Stay Safe,
Robin, G8DQX
toggle quoted message
Show quoted text
On 06/02/2021 23:35, ken WA2MZE wrote:
I downloaded nanovna-saver from github and tried to run the program under kubuntu (ubuntu).
python3.7 nanovna-saver.py
Traceback (most recent call last):
File "nanovna-saver.py", line 21, in <module>
from NanoVNASaver.__main__ import main
File "/home/ken/RadioStuff/VNA/NanoVNA/nanovna-saver/NanoVNASaver/__main__.py", line 33, in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: cannot import name 'QtWidgets' from 'PyQt5' (/usr/lib/python3/dist-packages/PyQt5/__init__.py)
I'm no python expert, not sure how to solve this. Looks like some package is missing.