¿ªÔÆÌåÓý

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

Re: Re : NanoVNA-Saver Linux update procedure

Pierre Martel
 

I have a question, from what I see. the problem seem to com from debian
flavored distro.

Anyone can report what version and linux distro they are using where
NanoVNA-saver works right away?

I am willing to change distro if it comes that that.

Pierre
VE2PF

Le jeu. 16 janv. 2020 ¨¤ 10:37, Nick <g3vnc@...> a ¨¦crit :

On Thu, Jan 16, 2020 at 08:26 AM, Rune Broberg wrote:

I'm a little confused as to the decision on the Linux Mint packagers to
release 19.3 late last year with Python 3.6, when 3.7 was already more
than
18 months old, and 3.8 had just been released as well. Going with a
version
that old is bound to cause problems for the users.
Yes, we might even have got a newer version of python-pip3 - see below.

Anyway, getting near to the bottom of this now. Following notes apply to
LM19.3.

As I understand it

$ python3.7 -m pip install .

parses ~/nanovna-saver/requirements.txt and installs the latest versions
of the required python distribution packages if they are not already
installed i.e.

scipy
pyqt5
pyserial
numpy

pip will always install the latest versions, not whatever (older) versions
happen to be available from the distro package management system - which is
good.

Since 15.12.19 when I installed nanovna-saver-0.2.2a there have been two
new versions of PyQt5...



The installation error reported arises when pip3 attempts to install
PyQt5==5.14.1. We are not alone...



The pip3 version provided with the distro package python3-pip appears to
be too old.

$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

Having read more about it seems that using sudo with pip3 to overcome the
error (as suggested in my earlier post #9634 and elsewhere) is a bad idea;
if you need to use sudo you are probably trying to modify a distro file.

There is no easy way to upgrade the version of pip3 supplied by the distro
package python3-pip. If the package manager advertises a new version then
you can install that as an update. It's a distro file and you shouldn't
try to upgrade it any other way. I managed to break (and fix) pip3 several
times in the attempt.

One way round this problem would be to install nanovna-saver in a python
virtual environment.

Another way is to modify ~/nanovna-saver/requirements.txt...

scipy
pyqt5==5.13.2
pyserial
numpy

then from ~/nanovna-saver/

$ python3.7 -m pip install -r ./requirements.txt .

This installs PyQt5==5.13.2 which is the version I used on 15.12.19.

I have tested this and it seems to work properly.

I do not understand why I had to explicitly specify the path to
requirements.txt though.

Nick




Re: Nano VNA

 

Slightly better specs.
Check the Wiki (link at bottom of every msg)

On Thursday, January 16, 2020, 10:52:09 a.m. GMT-5, SUNIL A R <sunilar85@...> wrote:

Hi friends , what is the difference between nano vna and nano vna -H....


Nano VNA

 

Hi friends , what is the difference between nano vna and nano vna -H....


Re: Re : NanoVNA-Saver Linux update procedure

 

On Thu, Jan 16, 2020 at 08:26 AM, Rune Broberg wrote:

I'm a little confused as to the decision on the Linux Mint packagers to
release 19.3 late last year with Python 3.6, when 3.7 was already more than
18 months old, and 3.8 had just been released as well. Going with a version
that old is bound to cause problems for the users.
Yes, we might even have got a newer version of python-pip3 - see below.

Anyway, getting near to the bottom of this now. Following notes apply to LM19.3.

As I understand it

$ python3.7 -m pip install .

parses ~/nanovna-saver/requirements.txt and installs the latest versions of the required python distribution packages if they are not already installed i.e.

scipy
pyqt5
pyserial
numpy

pip will always install the latest versions, not whatever (older) versions happen to be available from the distro package management system - which is good.

Since 15.12.19 when I installed nanovna-saver-0.2.2a there have been two new versions of PyQt5...



The installation error reported arises when pip3 attempts to install PyQt5==5.14.1. We are not alone...



The pip3 version provided with the distro package python3-pip appears to be too old.

$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

Having read more about it seems that using sudo with pip3 to overcome the error (as suggested in my earlier post #9634 and elsewhere) is a bad idea; if you need to use sudo you are probably trying to modify a distro file.

There is no easy way to upgrade the version of pip3 supplied by the distro package python3-pip. If the package manager advertises a new version then you can install that as an update. It's a distro file and you shouldn't try to upgrade it any other way. I managed to break (and fix) pip3 several times in the attempt.

One way round this problem would be to install nanovna-saver in a python virtual environment.

Another way is to modify ~/nanovna-saver/requirements.txt...

scipy
pyqt5==5.13.2
pyserial
numpy

then from ~/nanovna-saver/

$ python3.7 -m pip install -r ./requirements.txt .

This installs PyQt5==5.13.2 which is the version I used on 15.12.19.

I have tested this and it seems to work properly.

I do not understand why I had to explicitly specify the path to requirements.txt though.

Nick


Re: Why USB-C connector

Kwacka
 

Look on the bright side - USB4 is on the way! :(


Re: Connectors on RF Test Board leads

 

I bought one also and I cannot connect the cables either.

Nice concept, but if it doesn't work, what good is it.

Caveat Emptor

73, Dick, W1KSZ
________________________________
From: [email protected] <[email protected]> on behalf of Christopher Pettitt via Groups.Io <g0eyo@...>
Sent: Thursday, January 16, 2020 7:11 AM
To: [email protected] <[email protected]>
Subject: [nanovna-users] Connectors on RF Test Board leads

I have just tried to use the RF Demo Test board I purchased with my NanoVNA. I find it impossible to connect the leads supplied to the tiny connectors on the test board. I assume I am not alone having discovered this problem. The RF Demo Test board is a wonderful idea but not much use if you can't connect to it.
Regards
Chris G0EYO


Re: 3D printed nanoVNA-H BNC holder and binding post DUT holder

 

When you mate these 2 items, do you use a BNC barrel adapter?


Re: 3D printed nanoVNA-H BNC holder and binding post DUT holder

 

Herb
I do use it with the test rig connected by cables and calibrate using good calibration standards with data from SDR-KITS that I got with my FA-VA5.
Bob


Re: Why USB-C connector

 

It came with a C to C cable.
That cable might be defective..


Re: Installing NanoVna-Saver : First Time Problems/Fixes

 

Hello Leif,
NanoVNA-Saver does *not* use any image files in a zip-file - you must be
thinking about NanoVNASharp, or one of the varieties.

--
Rune / 5Q5R

On Thu, 16 Jan 2020 at 14:58, Leif M <sala.nimi@...> wrote:

I had this kind of problem when I started using Saver. The reason was
missing files. There are Smith chart images in the zip-files which are
needed.




Re: Why USB-C connector

 

I bought what was labeled in this group as the Huygen nanoVNA-H from the Alibaba store. Ordered December 21, 2019. It came with a C to C cable.


Connectors on RF Test Board leads

Christopher Pettitt
 

I have just tried to use the RF Demo Test board I purchased with my NanoVNA. I find it impossible to connect the leads supplied to the tiny connectors on the test board. I assume I am not alone having discovered this problem. The RF Demo Test board is a wonderful idea but not much use if you can't connect to it.
Regards
Chris G0EYO


Re: Installing NanoVna-Saver : First Time Problems/Fixes

 

Thanks for you answer.
The zip file is right as I install my Win 10 computer with it and it works fine


Re: Installing NanoVna-Saver : First Time Problems/Fixes

 

My previous post was about missing Smith chart. If you have problems with installation sometimes it happens because there is a problem with file. Have you tried to reupload that zip-files, or some older version.


Re: Installing NanoVna-Saver : First Time Problems/Fixes

 

I had this kind of problem when I started using Saver. The reason was missing files. There are Smith chart images in the zip-files which are needed.


Re: Re : NanoVNA-Saver Linux update procedure

John Ackermann N8UR
 

Note too that on Debian derived systems you need to specify python major version when you apt libraries.? e.g., "apt install python-numpy" gets for v2.? "apt install python3-numpy" gets for v3.

On Jan 16, 2020, 1:35 AM, at 1:35 AM, Jim Allyn - N7JA <jim@...> wrote:
On 1/15/20 11:02 AM, Alberto I2PHD wrote:
Unfortunately apt-get does not know any of those....
I tried installing PyQt5, numpy, scipy and pyserial, but apt-get
declared those as unknown packages...
Probably they are part of a bigger package, but here I need the
advice of a Linux expert...


???? apt-get probably won't find them unless you use the exact name.?
Synaptic, on the other hand, probably will.? Is Synaptic available in
your distro?


Re: Re : NanoVNA-Saver Linux update procedure

 

On 1/15/20 3:54 PM, n5kzw wrote:
Just wasted the afternoon trying to build or install PyQt5 on Ubuntu 18.04

???? In Mint, which is based on Ubuntu, it's python-pyqt5.? And it comes from Ubuntu:


apt show python-pyqt5
Package: python-pyqt5
Version: 5.10.1+dfsg-1ubuntu2
Priority: optional
Section: universe/python
Source: pyqt5
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@...>


Re: Re : NanoVNA-Saver Linux update procedure

 

Hi Graeme,
you can definitely install Python 3.7 next to Python 3.6, if your OS
requires it.

I'm a little confused as to the decision on the Linux Mint packagers to
release 19.3 late last year with Python 3.6, when 3.7 was already more than
18 months old, and 3.8 had just been released as well. Going with a version
that old is bound to cause problems for the users.

--
Rune / 5Q5R

On Thu, 16 Jan 2020 at 01:13, Graeme Jury <gvjury@...> wrote:

Ahh this is turning out to be more tricky than I thought. I am using Linux
Mint 19.3 which uses python 3.6. It was no problem to load the dependencies
which I listed for python 3.6 but they would not work when I used them with
python 3.7 which although it looked in the right place for the
dist-packages it could not load them so I guess that there are significant
changes. Unfortunately I can't simply unload python 3.6 and upgrade to
python 3.7 as 3.6 is integrated into too many Mint packages and is really a
system file. I guess that I am stuck with nanoVNAsaver 0.2.1 for the next 2
or 3 years until a new Mint version brings a higher version of python or
unless I switch to another distro like Arch or openSuse which keep very
current.

I like Mint but don't like not progressing nanoVNAsaver.

73, Graeme ZL2APV




Re: Re : NanoVNA-Saver Linux update procedure

 

On 1/15/20 4:12 PM, Graeme Jury wrote:
I can't simply unload python 3.6 and upgrade to python 3.7

???? You don't have to, you can have both 3.6 and 3.7 installed. 3.6 remains the default for the Mint applications, and when you want to start something that requires 3.7, you simply preface it with python3.7, like so:? "python3.7 nanovna-saver.py."?? I currently have the following python versions installed on Mint 19.1 Cinnamon:


jim@jim-P55A-UD3P:~$ python --version
Python 2.7.17

jim@jim-P55A-UD3P:~$ python3 --version
Python 3.6.9

jim@jim-P55A-UD3P:~$ python3.7 --version
Python 3.7.5


Re: Installing NanoVna-Saver : First Time Problems/Fixes

 

I install again the SP and VC++ but still receive the same error.

At the first try, I installed previously the "api-ms-win-core-xxx.dll" separately because I had error that they were missing. Step by step, I was able to go further in the install process.

I try to remove one of those dll with the identical result.
Install it again let me go further.

After new install SP and VC++, I'm still having "nanovna saver has top working" at the end of the installation.

Any idea how to solve ?

PS: I install successfully on my Win 10.

Yves