>From your description, you're installing it in the correct spot, however
you're not giving us much information. Instead of just showing the single
error line, it would be helpful to see the log from startup. The reason is
that it will log the location of the user directory.

Set debug=1, then restart weewxd. Post the log *from startup* through the
error.

On Sun, Feb 25, 2024 at 10:55 AM Remy Lavabre <[email protected]>
wrote:

> Hello,
>
> weewx is installed in virtual PIP mode -> ~/weewx-data/... and
> ~/weewx-venv/...
> I manually added the xxx.py driver for my weather station in the
> ~/weewx-data/bin/user directory.
> It is declared in weewx.conf as "driver = usr.xxx", as was done in version
> 4.x
>
> When launching weewxd, I get the message:
>    File "/home/pi/weewx-venv/lib/python3.8/site-packages/weewx/engine.py",
> line 104, in setupStation
>      __import__(driver)
> ModuleNotFoundError: *No module named 'usr'*
>
> I tried "driver = xxx.py" without success
>
> if I put my driver in
> ~/weewx-venv/lib/python3.8/site-packages/weewx/drivers/xxx.py and I put
> driver = xxx.py in weewx.conf there is no longer the error.
>
> Moral: Would it be possible to tell me the exact location where to put my
> driver in the user directory and how to declare it in weewx.conf ?
>
> Thank you...
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/a6fe6217-0ad7-45b0-8dae-74c94db83fbdn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/a6fe6217-0ad7-45b0-8dae-74c94db83fbdn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBr%2BYP_ch%2ButQWFxOZ2gQW%3DzzO3xyGWK6q3j_KOQdh98w%40mail.gmail.com.

Reply via email to