Hi Ron,
I'm not strong on how to get Python set up, so I trust others who are able
to help to chime in. :-) But, do try the following:
- In "setup.py", change "PyQt5==5.11.2" to just read "PyQt5". This *could*
fix the problem entirely.
- If not, after doing the above, in the folder containing nanovna-saver.py,
run "python3.7 -m pip install ."
I hope one of these works for you ... Do report back if it does! :-)
--
Rune / 5Q5R
toggle quoted message
Show quoted text
On Mon, 30 Sep 2019 at 03:43, Ron Webb <bigron@...> wrote:
OK... this probably is not so much a problem with NanoVNA-Saver, per se,
but I'm hoping someone can point out what may be wrong. I have a laptop
that I normally boot Windows 10, from which I run NanoVNA-Saver from with
no issues. Lately, I've created an Ubuntu 19.04 Live USB with persistent
memory, as I don't want to create a partition on my laptop. I have
installed python with all the required modules, including "pyqt5", but when
I attempt to start the program, I get the following error:
Traceback (most recent call last):
File "nanovna-saver.py", line 17, in <module>
from NanoVNASaver.__main__ import main
File "/home/ubuntu/Git/nanovna-saver/NanoVNASaver/__main__.py",
line 21, in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: No module named PyQt5
If I type in "pip3 install pyqt5", I get:
Requirement already satisfied: pyqt5 in
/usr/lib/python3/dist-packages (5.12.1)
So, it is already installed... I'm puzzled... Any ideas?