Skip to content

Controlling device via Serial commands #2

Answered by Ho-Ro
Ho-Ro asked this question in Q&A
Discussion options

You must be logged in to vote

Let's follow up the discussion here, because it is not nanovna-saver related.

I did a quick step-by-step test on a windows machine as normal user, fresh python install (3.11.2), no device connected:

c:\Users\...\projects\NanoVNA\nanovna-tools>python nanovna_command.py
Traceback (most recent call last):
  File "c:\Users\...\projects\NanoVNA\nanovna-tools\nanovna_command.py", line 16, in <module>
    import serial
ModuleNotFoundError: No module named 'serial'

Ok, pyserial is missing:

pip install pyserial
Collecting pyserial
  Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
     ---------------------------------------- 90.6/90.6 kB 737.1 kB/s eta 0:00:00
Installing collected packages:…

Replies: 3 comments

Comment options

Ho-Ro
Oct 18, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by Ho-Ro
Comment options

Ho-Ro
Oct 18, 2023
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
HowTo Step-by-step solution Serial Communication Communication protocol
2 participants