One of your extensions, purple, needs the Python package "requests <https://pypi.org/project/requests/>" in order to operate. You can install it like this:
*source ~/weewx-venv/bin/activate* *python3 -m pip install requests* This will install the missing "requests" package inside the virtual environment. Incidentally, this is a good example of why it's a good thing to keep the number of packages that an extension requires down to a minimum. On Monday, October 16, 2023 at 8:34:32 AM UTC-7 [email protected] wrote: > Hello, > As an "old" user of weewx (much appreciated for the software!), I'm having > problems with migration. Not being much of a programmer, can someone point > out my error below? Thanks in advance. Bob > > (weewx-venv) bg@n4mrv:~$ weewxd --config=/home/weewx/weewx.conf > Traceback (most recent call last): > File "/home/bg/weewx-venv/bin/weewxd", line 8, in <module> > sys.exit(main()) > File "/home/bg/weewx-venv/lib/python3.10/site-packages/weewxd.py", line > 151, in main > engine = weewx.engine.StdEngine(config_dict) > File "/home/bg/weewx-venv/lib/python3.10/site-packages/weewx/engine.py", > line 90, in __init__ > self.loadServices(config_dict) > File "/home/bg/weewx-venv/lib/python3.10/site-packages/weewx/engine.py", > line 158, in loadServices > obj = weeutil.weeutil.get_object(svc)(self, config_dict) > File > "/home/bg/weewx-venv/lib/python3.10/site-packages/weeutil/weeutil.py", line > 1352, in get_object > mod = __import__(module) > File "/home/weewx/bin/user/purple.py", line 25, in <module> > import requests > ModuleNotFoundError: No module named 'requests' > -- 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/90e16a16-2d07-4ecc-b9c1-1dee954f9285n%40googlegroups.com.
