¿ªÔÆÌåÓý

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

Re: Re : NanoVNA-Saver Linux update procedure

 

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: Poor Manual

 

On 1/15/20 6:31 AM, Chuck Carpenter wrote:
I do have some background writing User's Guides, Training Manuals and so forth

Does that mean you just volunteered to write a better book?


Re: Why USB-C connector

 

On Wed, Jan 15, 2020 at 06:01 PM, KD8CGH wrote:

" My nanaVNA-H only works with PC programs with the C to A cable. It powers up with the C to C but I can't connect to it. It seems that each has its own personality. "
====================================================
The original NanoVNA-H's were missing the termination resistors on the PCB that allow C to C data connection. This was corrected in the NanoVNA-H units that hugen currently sells at his Alibaba store. Hugen now even includes a C to C cable in the accessories specifically for this purpose.

- Herb


Re: Re : NanoVNA-Saver Linux update procedure

 

I meant sudo of course.

73

-Jim
NU0C

On Wed, 15 Jan 2020 20:22:17 -0600
"Jim Shorney" <jshorney@...> wrote:

install with susdo


Re: Re : NanoVNA-Saver Linux update procedure

 

I have it running under Kubuntu 18.04 without a lot of effort. Using the Muon package manager I easily located the proper dependencies and installed them. Installed Python 3.7 from the deadsnakes ppa.



The install instructions for nanvna-saver worked at that point up until the dreaded permision error on /tmp. Running the install with susdo fixed that. In retrospect, I may not have even needed that. K/Ubuntu has a python-pyqt package listed in the package manager.

All this apt-get CLI stuff is great, but Muon can be your best friend. Disclaimer: I usually don't like installing from ppa because I have had strange things happen in the past, but I do make occasional exceptions for ppas that have good reputations.

73

-Jim
NU0C

On Wed, 15 Jan 2020 15:54:41 -0800
"n5kzw" <n5kzw@...> wrote:

My parents gave me my first "computer" (a Brainiac) back about 1962. I have been building and programming them ever since then. I thought Pascal was a pretty stupid language, but in all my years I have never encountered a language as fucked up as Python. Just wasted the afternoon trying to build or install PyQt5 on Ubuntu 18.04 following every web tutorial I could find with the result that I now have a bunch of junk to scrub from my system, and no PyQt5, numpy, PtSci, sip ... What a waste. - Ed



Re: NanoVNA-Saver Linux update procedure

 

That's it! How could I not remember deadsnakes....

I generally use the muon package manager to search for packages that I don't know the exact name of. Command line apt-get is for when you know what you want. :D

73

-Jim
NU0C


On Wed, 15 Jan 2020 14:29:49 -0800
"Rick Commo" <rick.commo@...> wrote:

Jim,

By any cgance was it the one shown below? I got this from:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.7

Thanks,
-rick, K7LOG

On Jan 15, 2020, at 13:58, Jim Shorney <jshorney@...> wrote:


When I was researching how to install 3.7 alongside my system default version (Ubuntu/Kubuntu) without breaking it I found what is claimed to be a "preferred PPA" among Python developers. It indeed installed 3.7 without clashing with the system's preferred version. Where there is a will, there is a way.

73

-Jim
NU0C

On Wed, 15 Jan 2020 13:22:27 -0800
"Rick Commo" <rick.commo@...> wrote:

One practice is for a distro to have both Python 2.7 and python 3.x installed. The command ¡°python¡± usually defaults to Python 2.7.

If the distro has done this then you will probably find the following in /usr/bin (taken from my Rasberry Pi 2B)

lrwxrwxrwx 1 root root 9 Mar 28 2015 python -> python2.7
lrwxrwxrwx 1 root root 9 Mar 28 2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3201580 Sep 26 2018 python2.7
lrwxrwxrwx 1 root root 9 Dec 5 2014 python3 -> python3.4
-rwxr-xr-x 2 root root 3816928 Sep 26 2018 python3.4

The critical thing to realize here is that the command ¡°python¡± can quite easily be changed to any installed version of Python. However you do have to remember that some programs that use ¡°python¡± may, in fact, assume a prticular version.

To get Python 3.7, you might have to add a PPA for it to the repository list. After that your do an "apt update¡± and you should be good to go.




On Jan 15, 2020, at 12:40, Oristo <ormpoa@...> wrote:

Probably they are part of a bigger package,
but here I need the advice of a Linux expert...
You probably want e.g, python3-numpy, python3-pyqt5, etc
Be aware that there are incompatible versions of Python
and many Linux distros try support more than Python 3..














Re: Why USB-C connector

 

My nanaVNA-H only works with PC programs with the C to A cable. It powers up with the C to C but I can't connect to it. It seems that each has its own personality.


Re: Why USB-C connector

 

On Wed, Jan 15, 2020 at 03:51 PM, Steve London wrote:

" Why did they even go with a USB-C jack on the NanoVNA "
===================================================
The USB-C jack is not polarized and the cable can be inserted in either direction. You would be surprised how many people damage their phones or tablets by forcing a cable into a micro-USB port in the wrong direction. My wife, who I love to death, is one of them.

- Herb


Re: Why USB-C connector

Bob Albert
 

I have had issues as well.? I own two nanoVNAs.? One has had the USB connector removed due to a short.? Now I can't put it back because the pins are too small and too close together for my old eyes.? So I soldered a cable to the board temporarily to charge the battery but of course I have no data acess.
The other one has the issue that when it's plugged in, the nano won't run.? I have to unplug it and then it works; after it's running I can put the connector back and all usually is ok.? I don't know if it matters how the other end of the cable is terminated.
Both issues are such that I can still get use from the units but it would be nice to have them as original.
Bob

On Wednesday, January 15, 2020, 03:51:44 PM PST, Steve London <n2ic@...> wrote:

I have a NanoVNA with a USB-C connector. There is now a problem when connected to a power/data source such as a PC through a USB-C -to- USB-A cable. If the NanoVNA is on, a slight jiggle of the cable causes the NanoVNA to shut down. This does not happen if the cable is not connected to a PC. I have to suspect a problem with the USB-C plug or jack. Why did they even go with a USB-C jack on the NanoVNA. Obviously, only the 4 pins of USB-A are needed.

Thanks,
Steve


Re: android app?

 

@Oristo, Hey, I got it working! I was mixed up on the two names (SimpleUsbTerminal on Github, and Serial USB Terminal on Play Store. Anyway, with the CDC device, it works the same as with my PC. Thank you!


Re: Re : NanoVNA-Saver Linux update procedure

 

Alberto, are you a member of the dialout group? If not this is likely to be the reason for needing root access.

Graeme


Re: Re : NanoVNA-Saver Linux update procedure

 

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 : NanoVNA-Saver Linux update procedure

 

Probably they are part of a bigger package,
but here I need the advice of a Linux expert...

You probably want e.g, python3-numpy, python3-pyqt5, etc
Be aware that there are incompatible versions of Python
and many Linux distros try support more than Python 3..
===================================

Thanks Oristo,

SUCCESS AT LAST !

I installed these three packages :? python3-numpy, python3-scipy and python3-serial
and then the command

sudo python3.7 ./nanovna-saver/nanovna-saver.py

did work. I was forced to execute it under sudo, otherwise I got some permission errors,
don't remember now the details.

TNX

--
/*73 Alberto I2PHD*
<<< >>>/


Re: Why USB-C connector

Peter Loron
 

Obviously giggling the cable shouldn¡¯t cause problems. Either a poor quality cable/jack or a manufacturing problem.

Personally I appreciate having a USB-C connector. Pretty much all of the computers I use have them as the principal ports and I¡¯m migrating everything else as I go. It is the new standard and I suspect pretty much all devices will move away from USB-A and micro-USB in the next year or two.

On Jan 15, 2020, at 15:51, Steve London <n2ic@...> wrote:

I have a NanoVNA with a USB-C connector. There is now a problem when connected to a power/data source such as a PC through a USB-C -to- USB-A cable. If the NanoVNA is on, a slight jiggle of the cable causes the NanoVNA to shut down. This does not happen if the cable is not connected to a PC. I have to suspect a problem with the USB-C plug or jack. Why did they even go with a USB-C jack on the NanoVNA. Obviously, only the 4 pins of USB-A are needed.

Thanks,
Steve



Re: Re : NanoVNA-Saver Linux update procedure

 

My parents gave me my first "computer" (a Brainiac) back about 1962. I have been building and programming them ever since then. I thought Pascal was a pretty stupid language, but in all my years I have never encountered a language as fucked up as Python. Just wasted the afternoon trying to build or install PyQt5 on Ubuntu 18.04 following every web tutorial I could find with the result that I now have a bunch of junk to scrub from my system, and no PyQt5, numpy, PtSci, sip ... What a waste. - Ed


Why USB-C connector

 

I have a NanoVNA with a USB-C connector. There is now a problem when connected to a power/data source such as a PC through a USB-C -to- USB-A cable. If the NanoVNA is on, a slight jiggle of the cable causes the NanoVNA to shut down. This does not happen if the cable is not connected to a PC. I have to suspect a problem with the USB-C plug or jack. Why did they even go with a USB-C jack on the NanoVNA. Obviously, only the 4 pins of USB-A are needed.

Thanks,
Steve


Re: 1/2 of TDR #tdr

 

On Wed, Jan 15, 2020 at 02:43 PM, Leif M wrote:

I wonder if VNA 2.0 has a HW TDR also, or is it a SW feature.
============================================

The 3 GHz VNA 2.0 being developed by Gabriel will have pretty much the same hardware capabilities (i.e., TDR) as the current NanoVNA-F. You can follow Gabriel's V2 firmware development at .

Gabriel's 3 GHz VNA 2.0 will not work out of the box with any of the current NanoVNA software. She is porting a version of Rune's NanoVNA-Saver application to work with her device, which would provide a SW TDR feature. I haven't noticed any recent progress with the porting effort.

- Herb


Re: Re : NanoVNA-Saver Linux update procedure

 

Hello Alberto,

You will need to install the libraries explicitly for the python3 that you are using. The most likely names for the files are

python3-numpy
python3-pyqt5
python3-scipy
python3-serial

sudo apt install python3-numpy will likely install the first file in a Debian based distro and probably other distros are using the same name. Ubuntu based editions are using python 3.6.9 and this runs nanoVNAsaver up to version 0.2.1 but for the latest 0.2.2 you need python 3.7 minimum as the nanoVNAsaver code now is using the future feature "annotations" which is not supported in python 3.6 and there seems to be little enthusiasm to add it which is understandable given that python 4 is looming.

Hope that helps,

73, Graeme ZL2APV


Will there be a TDR in VNA 2.0? #improvement #nanovna_ver2

 

I wonder/hope that will there be a TDR in next VNA the 2.0. Delay gives a good starting point for cable compensation, (which people here will probably know better than I)I mean the one with upper frequency of around 3GHz.

Regards
Leif M


Re: 1/2 of TDR #tdr

 

Interesting link and I found the EM simulator link there also. I have to calibrate my VNA to 900MHz maybe I get better results then.

I wonder if VNA 2.0 has a HW TDR also, or is it a SW feature.

Thanks
Leif