ignore this email (for reasons that are now obvious and I shall slink back 
into my corner with shame lol)

On Friday, March 6, 2026 at 9:59:18 AM UTC-8 Chris Alemany wrote:

> Hi all,
> There seems to be a wider issue. It seems the pip libraries are getting 
> lost in the upgrade from Debian 12 to 13 and using weewx 3.1.
>
> TLDR: The "Installation using pip" instructions do not work successfully 
> on a new Debian 13 install. At least in my experience.
>
> 1) I've backed up and moved my old weewx-data directory.
> 2) I uninstalled the python3-pip and -venv apt packages, cleaned them out, 
> and re-installed.
> 3) Following the standard pip venv steps, weewx appears to install 
> successfully (as seen below)
> 4) but no weewx-data folder is created.
> 5) when weewxd is run for the first time, it fails on account of no 
> weewx-data directory and related files.
>
> Any help appreciated.
> Cheers
> Chris
>
>
>
> (weewx-venv) *pi@footiMac*:*~*$ python3 -m pip install weewx
>
> Collecting weewx
>
>   Using cached weewx-5.3.1-py3-none-any.whl.metadata (5.9 kB)
>
> Collecting CT3>=3.1 (from weewx)
>
>   Using cached 
> ct3-3.4.0.post5-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata
>  
> (3.9 kB)
>
> Collecting Pillow>=5.2 (from weewx)
>
>   Using cached 
> pillow-12.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata
>  
> (8.8 kB)
>
> Collecting PyMySQL>=1.0 (from weewx)
>
>   Using cached pymysql-1.1.2-py3-none-any.whl.metadata (4.3 kB)
>
> Collecting configobj>=5.0 (from weewx)
>
>   Using cached configobj-5.0.9-py2.py3-none-any.whl.metadata (3.2 kB)
>
> Collecting ephem>=4.1 (from weewx)
>
>   Using cached 
> ephem-4.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata
>  
> (6.3 kB)
>
> Collecting pyserial>=3.4 (from weewx)
>
>   Using cached pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
>
> Collecting pyusb>=1.0.2 (from weewx)
>
>   Using cached pyusb-1.3.1-py3-none-any.whl.metadata (2.5 kB)
>
> Using cached weewx-5.3.1-py3-none-any.whl (1.4 MB)
>
> Using cached configobj-5.0.9-py2.py3-none-any.whl (35 kB)
>
> Using cached 
> ct3-3.4.0.post5-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl (876 
> kB)
>
> Using cached 
> ephem-4.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
>  
> (1.8 MB)
>
> Using cached 
> pillow-12.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl 
> (7.0 MB)
>
> Using cached pymysql-1.1.2-py3-none-any.whl (45 kB)
>
> Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
>
> Using cached pyusb-1.3.1-py3-none-any.whl (58 kB)
>
> Installing collected packages: pyserial, ephem, pyusb, PyMySQL, Pillow, 
> CT3, configobj, weewx
>
> Successfully installed CT3-3.4.0.post5 Pillow-12.1.1 PyMySQL-1.1.2 
> configobj-5.0.9 ephem-4.2.1 pyserial-3.5 pyusb-1.3.1 weewx-5.3.1
>
>
> (weewx-venv) *pi@footiMac*:*~*$ weewxd
>
> Error parsing config file: Unable to find file 'weewx.conf'. Tried 
> directories ['/home/pi/weewx-data', '/etc/weewx', '/home/weewx']
>
> Traceback (most recent call last):
>
>   File 
> "/home/pi/weewx-venv/lib/python3.13/site-packages/weeutil/startup.py", line 
> 86, in start_app
>
>     config_path, config_dict = weecfg.read_config(config_option, 
> [config_arg])
>
>                                
> ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>   File 
> "/home/pi/weewx-venv/lib/python3.13/site-packages/weecfg/__init__.py", line 
> 147, in read_config
>
>     config_path = find_file(option_path, args, locations=locations, 
> file_name=file_name)
>
>   File 
> "/home/pi/weewx-venv/lib/python3.13/site-packages/weecfg/__init__.py", line 
> 104, in find_file
>
>     raise OSError(f"Unable to find file '{file_name}'. Tried directories 
> {locations}")
>
> OSError: Unable to find file 'weewx.conf'. Tried directories 
> ['/home/pi/weewx-data', '/etc/weewx', '/home/weewx']
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/90efae37-a734-42b9-a3fc-994d6b15d962n%40googlegroups.com.

Reply via email to