Hi,
the file name is "nanovna-saver.py". So the error you got seems to have
been because you tried to run a file that did not exist?
If the application works, then I don't think anything important has failed.
You don't mention which commands you tried running in which order, so I
can't tell what caused the "bdist_wheel" problem.
--
Rune / 5Q5R
toggle quoted message
Show quoted text
On Sat, 26 Oct 2019 at 11:37, <subs@...> wrote:
It seems then, that the firmware version that I have is the latest by
Hugen.
With regards to the Save, thank you for the link, and this one makes more
sense as it is consistent with the menu I have. It seems that Trace setting
status rather oddly is saved in the calibration settings along with Marker
setting status. I just didn't envisage that as a calibration factor. As you
pointed out, it needs to be saved in SAVE 0, but under calibration rather
than the general system settings SAVE, which doesn't seem to save much
except:
- Touch panel calibration information
- Grid color
- Trace color
- Calibration data number loaded by default
That's sorted that one out.
I ran into difficulties with nanovna saver though. I already had the
pre-requisistes:
`python3-serial`
* `python3-pyqt5`
* `numpy`
The last of these is ambiguous which I will come to in a moment. I
followed the process in the readme and got this at the end of the output:
-------------------
Running setup.py bdist_wheel for NanoVNASaver ... error
Complete output from command /usr/bin/python3.7 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-bd9ju62f-build/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
/tmp/tmp_eemos37pip-wheel- --python-tag cp37:
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown
distribution option: 'long_description_content_type'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for NanoVNASaver
Running setup.py clean for NanoVNASaver
Failed to build NanoVNASaver
Installing collected packages: PyQt5-sip, PyQt5, numpy, pyserial,
NanoVNASaver
Running setup.py install for NanoVNASaver ... done
Successfully installed NanoVNASaver-0.1.4 PyQt5-5.11.2 PyQt5-sip-4.19.19
numpy-1.17.3 pyserial-3.4
-------------------
I then ran:
$ python3.7 nanovna-save.py
and got:
python3.7: can't open file 'nanovna-save.py': [Errno 2] No such file or
directory
I had python-numpy installed, but I then tried installing python3-numpy
and then ran the install again. This time I still got the same warning at
the end of the install output, but the program ran. It would therefore seem
that python3-numpy is the required package.
The program does seem to connect to the nanoVNA and I was able to set the
start and stop frequency and run a scan which seemed to work. However, it
would seem that some component has failed. Any help would be appreciated.