New install. Problem with email

55 views
Skip to first unread message

Patrick EGLOFF

unread,
Nov 29, 2024, 2:56:13 PM11/29/24
to radiosonde_auto_rx
Hi all,

I have a perfectly working remote installation that runs under Jessie on a Rpi.

In order to be a bit more up to date, I've installed a boorwork headless on another Rpi that will replace the existing setup.

Everything seems to work so far except when I test the email notification. I get the following error :

/radiosonde_auto_rx/auto_rx# python3 -m autorx.email_notification

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/root/radiosonde_auto_rx/auto_rx/autorx/email_notification.py", line 16,                                         in <module>
    from .config import read_auto_rx_config
  File "/root/radiosonde_auto_rx/auto_rx/autorx/config.py", line 15, in <module>
    from .sdr_wrappers import test_sdr
  File "/root/radiosonde_auto_rx/auto_rx/autorx/sdr_wrappers.py", line 13, in <m                                        odule>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'


Any guess ?

73 Patrick

wa7skg

unread,
Nov 29, 2024, 3:12:21 PM11/29/24
to radiosond...@googlegroups.com
Gotta watch those frozen runpies. They can get touchy.

Sorry, couldn't resist.

Michael WA7SKG



Patrick EGLOFF wrote on 11/29/24 11:56 AM:
> Hi all,
>
> I have a perfectly working remote installation that runs under Jessie on
> a Rpi.
>
> In order to be a bit more up to date, I've installed a boorwork headless
> on another Rpi that will replace the existing setup.
>
> Everything seems to work so far except when I test the email
> notification. I get the following error :
>
> //radiosonde_auto_rx/auto_rx# python3 -m autorx.email_notification/
> /
> Traceback (most recent call last):
>   File "<frozen runpy>", line 198, in _run_module_as_main
>   File "<frozen runpy>", line 88, in _run_code
>   File "/root/radiosonde_auto_rx/auto_rx/autorx/email_notification.py",
> line 16,                                         in <module>
>     from .config import read_auto_rx_config
>   File "/root/radiosonde_auto_rx/auto_rx/autorx/config.py", line 15, in
> <module>
>     from .sdr_wrappers import test_sdr
>   File "/root/radiosonde_auto_rx/auto_rx/autorx/sdr_wrappers.py", line
> 13, in <m                                        odule>
>     import numpy as np
> ModuleNotFoundError: No module named 'numpy'/
> /
> /

Mark Jessop

unread,
Nov 29, 2024, 4:11:20 PM11/29/24
to Patrick EGLOFF, radiosonde_auto_rx
It looks like you are running a native installation, and you are not running the script from within the virtual environment that you should have created as part of the setup process.


73
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 visit https://groups.google.com/d/msgid/radiosonde_auto_rx/64bd853d-a293-41bd-b894-e507df036400n%40googlegroups.com.

Patrick EGLOFF

unread,
Nov 30, 2024, 12:12:55 AM11/30/24
to radiosonde_auto_rx
Hi,
Thanks for the answers.That was it !
I'm not familiar with python and this venv.

I didn't take care to the fact that each python command has to be preceded by an venv activation !

The email test worked. So everything should be OK and the new SD card can be pu tinto service.

73, Patrick TK5EP

Reply all
Reply to author
Forward
0 new messages