开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Error building TinySA-saver on Linux (AHRL v24/Ubuntu 18.04.4)


 

Hi Everybody,

I'm trying to build the tinysa-saver PC software for Linux which I downloaded from github.? I'm trying to run it on "Andy's Ham Radio Linux", which is heavily based on Ubuntu 18.04.4.? I'm trying to follow the instructions from here:



Here's what I've done, and the resulting error:

# cd /usr/local/src
# git clone
# cd tinysa-saver
# python3.7 -m pip install .
Processing /usr/local/src/tinysa-saver
Collecting PyQt5 (from TinySASaver==0.2.2)
? Using cached https://files.pythonhosted.org/packages/8c/90/82c62bbbadcca98e8c6fa84f1a638de1ed1c89e85368241e9cc43fcbc320/PyQt5-5.15.0.tar.gz
??? Complete output from command python setup.py egg_info:
??? Traceback (most recent call last):
????? File "<string>", line 1, in <module>
????? File "/usr/lib/python3.7/tokenize.py", line 447, in open
??????? buffer = _builtin_open(filename, 'rb')
??? FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-yf_tyxmr/PyQt5/setup.py'
???
??? ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yf_tyxmr/PyQt5/

I installed several packages with PyQt5 in the name, to no avail.

Any helpful suggestions would be most appreciated.

Thanks, and 73,

Andy
KB1OIQ


 

On Sat, Aug 8, 2020 at 08:30 AM, Andy S wrote:
I'm trying to build the tinysa-saver PC software for Linux which I downloaded from github.
You best search for help how on to build xx-saver on the nanoVNA group
I only made a very quick and crude hack to get it working with the tinySA but it is basically still nanoVNA-saver so all building wisdom from nanoVNA is applicable.


 

Hi Andy,

You will find a requirements.txt in the nanovna-saver source file.zip
This includes the modules to be installed, which are required to work under Python.
These are worth checking, they are needed for proper operation.

73, Gyula HA3HZ


 

Erik: thank you for the pointer to the nanoVNA group.? I looked there and found a lot of people complaining about this same issue with PyQt5.? I searched further on the internet, and this issue with PyQt5 seems to be quite common.? I tried any and all of their suggestions, to no avail.

Gyular: I installed all of the prerequisites.? I still see the issue.

Thank you for your help!

73 de Andy KB1OIQ

Creator: Andy's Ham Radio Linux


 

开云体育

Andy,

you could try the procedure documented here: /g/nanovna-users/files/Nano%20VNA%20Saver/nanoVNA-H4%20software%20support%20under%20Ubuntu.pdf.

In essence, it involves using a Python Virtual Environment (PVE) so that the VNA Saver (using Python 3.7) is fully decoupled from the native Python 3.6 used by Ubuntu 18.04, thus resolving the dependency issues.

And it requires python3-pip to be installed at an early stage, so that Python 3.7 can bootstrap the required later version of pip.

Any questions, please ask. (It took a while to sort out and fully understand.)

73,

Robin, G8DQX

On 08/08/2020 22:14, Andy S wrote:

Erik: thank you for the pointer to the nanoVNA group.? I looked there and found a lot of people complaining about this same issue with PyQt5.? I searched further on the internet, and this issue with PyQt5 seems to be quite common.? I tried any and all of their suggestions, to no avail.

Gyular: I installed all of the prerequisites.? I still see the issue.

Thank you for your help!

73 de Andy KB1OIQ

Creator: Andy's Ham Radio Linux


 

Its the same issue I ran into trying to build it...? After looking at the py soup bowl I gave up.

Allison
-----------------------------------------
Please post here, direct emails go to a dead letter box.


 

Hi Robin (G8DQX),

Thank you for your reply.? I clicked on your link, but it doesn't bring me to a PDF file.? It brings me to the nanovna website for a login.? I don't have an account there.

I found instructions on the internet for setting up a Python Virtual Environment.? I set one up, and then tried to install PyQt5, and got exactly the same error.? :-(

73,
Andy (KB1OIQ)


 

开云体育

Andy,

1) the login was to groups.io for your list account (you may not have one, depending on how you signed up to this list)

2) a direct copy of the document is on its way to your ARRL email address

3) one can only hope that it's worth it when this gets sorted. It certainly was for the nanoVNA-Saver

HTH, 73, Stay Safe,

Robin, G8DQX

On 09/08/2020 22:27, Andy S wrote:

Hi Robin (G8DQX),

Thank you for your reply.? I clicked on your link, but it doesn't bring me to a PDF file.? It brings me to the nanovna website for a login.? I don't have an account there.

I found instructions on the internet for setting up a Python Virtual Environment.? I set one up, and then tried to install PyQt5, and got exactly the same error.? :-(

73,
Andy (KB1OIQ)


 

HI Robin (G8DQX),
Thank you for forwarding that PDF document directly to my ARRL email address.

After carefully following the instructions, the TinySA GUI came up!? My next step is to connect it to my TinySA.

Your patience is very much appreciated!? Thanks again!
73,
Andy
KB1OIQ


 

Hi Everybody,

I've got the tinySA-saver and the nanoVNA-saver working from the menu on "Andy's Ham Radio Linux" (AHRL) v24c, based on Ubuntu 18.04.5.

I will be releasing this version of AHRL shortly.? For more information, please visit this website:
https://sourceforge.net/projects/kb1oiq-andysham/

Thanks again for all of your help!
73,
Andy
KB1OIQ