pi@PI4B1:~/weewx-4.9.1 $ python3 -c "import six; print(six.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import six; print(six.__version__)
    ^^^^^^^^^^
ModuleNotFoundError: No module named 'six'
pi@PI4B1:~/weewx-4.9.1 $ sudo python3 ./setup.py install
warning: no previously-included files matching 'junk*' found anywhere in 
distribution
warning: no previously-included files matching '.' found anywhere in 
distribution
warning: no previously-included files matching '*~' found anywhere in 
distribution
Traceback (most recent call last):
  File "/home/weewx/bin/wee_config", line 12, in <module>
    from weecfg.config import ConfigEngine, Logger
  File "/home/weewx/bin/weecfg/__init__.py", line 21, in <module>
    from six.moves import StringIO, input
ModuleNotFoundError: No module named 'six.moves'
pi@PI4B1:~/weewx-4.9.1 $ 
Searching for six.moves leads to suggestions to install or add the six 
modules, but all attempts at that fails for me (so far). I keep getting:
i@PI4B1:~/weewx-4.9.1 $ pip3 install six
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python 
installation or OS distribution provider. You can override this, at the 
risk of breaking your Python installation or OS, by passing 
--break-system-packages.
hint: See PEP 668 for the detailed specification.
----
I have too many custom files in my setup to install a new weewx, I have to 
keep this version.  I had no idea after taking half a day to setup my pi4 
with the latest raspberry pi os that it would lead to these problems. 

If you know I'm missing something please let me know, maybe just adding 
something to the current Python3 (Python 3.13.5) will fix this, but I can't 
seem to add the things needed by setup.py.
Here's my raspi os version:
pi@PI4B1:~ $ cat /usr/lib/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.1
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";
pi@PI4B1:~ $ 
===========
I have the one-wire working on the pi though, that's always been a problem 
in the past.
===========
Anyone find a solution for this? 
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 visit 
https://groups.google.com/d/msgid/weewx-user/3637cf0b-51b8-48ae-b039-e187b05b32c2n%40googlegroups.com.

Reply via email to