python3 auto_rx.py

220 views
Skip to first unread message

Chris Viningre

unread,
Oct 11, 2023, 6:23:48 PM10/11/23
to radiosonde_auto_rx
Doing a new install. After running python3 auto_rx.py I receive this error. 

ws5b@raspberrypi:~/radiosonde_auto_rx $ sudo python3 auto_rx.py         python3: can't open file '/home/ws5b/radiosonde_auto_rx/auto_rx.py': [Errno 2] No such file or directory
    
Any ideals or suggestions?

Chris

Mark Jessop

unread,
Oct 12, 2023, 4:35:44 AM10/12/23
to Chris Viningre, radiosonde_auto_rx
Hi,

You are in the wrong directory. You need to be in ~/radiosonde_auto_rx/auto_rx/ to be able to run this command.

Note that running auto_rx in this manner is really only intended for testing purposes. For continuous operation you will need to follow the instructions here: https://github.com/projecthorus/radiosonde_auto_rx/wiki#451-option-1---operation-as-a-systemd-service-recommended

(Or alternatively, use the docker image installation method, as discussed here: https://github.com/projecthorus/radiosonde_auto_rx/wiki/Docker )

Cheers,
Mark VK5QI

--
You received this message because you are subscribed to the Google Groups "radiosonde_auto_rx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radiosonde_auto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/radiosonde_auto_rx/df44a691-f65f-4a15-a43c-24172ad7b647n%40googlegroups.com.

Mark Jessop

unread,
Oct 12, 2023, 6:44:16 PM10/12/23
to Chris Viningre, Chris Viningre, radiosonde_auto_rx
These errors suggest that you haven't installed all the required dependencies correctly.

If you're hitting these kinds of issues, I'd recommend you stop and move to the Docker installation method, which already includes all the required dependencies:

73
Mark VK5QI

On Fri, Oct 13, 2023 at 4:20 AM Chris Viningre <chrisv...@gmail.com> wrote:

I’m following the GitHub instructions and I stopped ay this test since I was not getting the same results. I’m guessing I must have missed something along the way but don’t know what. Thanks for leading to the correct directory. This is what I get now but doesn’t match what the instructions show.

 

ws5b@raspberrypi:~/radiosonde_auto_rx/auto_rx $ python3 auto_rx.py

Traceback (most recent call last):

  File "/home/ws5b/radiosonde_auto_rx/auto_rx/auto_rx.py", line 37, in <module>

    from autorx.scan import SondeScanner

  File "/home/ws5b/radiosonde_auto_rx/auto_rx/autorx/scan.py", line 21, in <module>

    from .utils import (

  File "/home/ws5b/radiosonde_auto_rx/auto_rx/autorx/utils.py", line 21, in <module>

    import semver

ModuleNotFoundError: No module named 'semver'

 

Sent from Mail for Windows

--
You received this message because you are subscribed to a topic in the Google Groups "radiosonde_auto_rx" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/radiosonde_auto_rx/G5an8kqSD4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to radiosonde_auto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/radiosonde_auto_rx/CAJsuqdD_ibkqvHKAM28QMm4Na23QYN69XpMhd7Lfkq89a%3DYxmQ%40mail.gmail.com.

 

mrfra...@gmail.com

unread,
May 21, 2024, 9:26:30 AM5/21/24
to radiosonde_auto_rx
Hi Mark, 

a half year later I got the same error after a fresh install on ubuntu following the instructions on Home · projecthorus/radiosonde_auto_rx Wiki (github.com) and chapter 4.1 sofware dependencies.
I do not use the virtual environment chapter 4.4 so I skipped that part.
It seems that some of the depedencies are missing in the sudo apt-get install line. When I ran pip install -r requirements.txt some other packages were installed. After that it worked fine again

  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 2.5 MB/s
Installing collected packages: semver, h11, wsproto, simple-websocket
Successfully installed h11-0.14.0 semver-3.0.2 simple-websocket-1.0.0 wsproto-1.2.0

73

Marcel (PC4L)

Op vrijdag 13 oktober 2023 om 00:44:16 UTC+2 schreef Mark Jessop:

Mark Jessop

unread,
May 21, 2024, 5:39:05 PM5/21/24
to mrfra...@gmail.com, radiosonde_auto_rx
This is to be expected? Not all of the python libraries auto_rx uses are available as debian packages, that's why we have to install them using pip.
The wiki page is written as a guide, so yes, skipping steps will likely lead to things not working!

73
Mark

Reply all
Reply to author
Forward
0 new messages