With a pip install, any user modules are normally located in ~/weewx-data/bin/user.
You didn't post a copy of the log, but I suspect somewhere in your configuration file weewx.conf you have a reference to an extension as "bin.user.something" instead of "user.something". Take a look. If you can't find it, use the tool weectl debug <https://www.weewx.com/docs/5.0/utilities/weectl-debug/> to post a copy of your configuration file. Be sure to also set debug=1, restart, then post a copy of the log. It will have important startup clues. On Thu, Apr 25, 2024 at 8:30 AM Remy Lavabre <remy.lava...@gmail.com> wrote: > Good morning, > > My configuration under weewx 4.10.2 works perfectly with a custom driver. > > I'm "desperately" trying to upgrade to weewx 5 under virtual environment. > > -> Configuration with the basic driver simulating the data works ok. > -> When I try with my driver, I get the following response: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *(weewx-venv) ---@server:~/weewx-data $ weewxdTraceback (most recent call > last): File "/home/----/weewx-venv/bin/weewxd", line 8, in <module> > sys.exit(main()) ^^^^^^ File > "/home/----/weewx-venv/lib/python3.11/site-packages/weewxd.py", line 160, > in main engine = weewx.engine.StdEngine(config_dict) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File > "/home/----/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", line > 89, in __init__ self.loadServices(config_dict) File > "/home/----/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", line > 157, in loadServices obj = weeutil.weeutil.get_object(svc)(self, > config_dict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File > "/home/----/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py", > line 1404, in get_object module = importlib.import_module(module_name) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File > "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen > importlib._bootstrap>", line 1206, in _gcd_import File "<frozen > importlib._bootstrap>", line 1178, in _find_and_load File "<frozen > importlib._bootstrap>", line 1128, in _find_and_load_unlocked File > "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed > File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File > "<frozen importlib._bootstrap>", line 1178, in _find_and_load File > "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 241, in > _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1206, > in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in > _find_and_load File "<frozen importlib._bootstrap>", line 1142, in > _find_and_load_unlockedModuleNotFoundError: No module named 'bin'* > > What is the problem ?? > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/909b9a5c-952a-4846-9910-458aaec91616n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/909b9a5c-952a-4846-9910-458aaec91616n%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAhbUmyp3i0NMWfJ_SUyugOpNT6N83Zp%3D-8U-hYCpna9w%40mail.gmail.com.