Tom and Vince,

This is how I installed bulleye, pip and weewx:

I used PI imager to write bullseye to an USB stick, setup for user wx and 
for my wifi

After I logged in with user wx the following sequence was done:
sudo su
sudo passwd root
sudo apt update && sudo apt upgrade
sudo apt install gcc python3-dev python3-pip 
sudo apt install sshpass nginx  (extra)
sudo apt autoremove (one not longer used package)
pip3 install wheel  (was already present)
pip3 install weewx --user  (version a17 presented as a16)

Luc
Op dinsdag 21 februari 2023 om 16:42:51 UTC-3 schreef Tom Keffer:

> Same conclusions here. The mystery is why Pillow didn't install an 
> appropriate version of libopenjp2. 
>
> It seems like a fundamental problem, yet if I search the web I can only 
> find solutions that are inappropriate or don't work. For example, one 
> suggested removing PIL first, then installing Pillow, which I did. No 
> relief.
>
> On Tue, Feb 21, 2023 at 11:38 AM Vince Skahan <[email protected]> wrote:
>
>> On a current RaspiOS both 'pip' and 'pip3' are installed by the 
>> python3-pip dpkg according to "dpkg -S /usr/bin/pip3 /usr/bin/pip"
>>
>> I reflashed a SD to current RaspiOS and installed 5.0.0a18 via pip --user 
>> and also recreated the issue.   Adding the libopenjp2-7 package fixed it 
>> here too.
>>
>> FWIW, I had an old debian_version 11.2 pi3 SD card with Pillow 8.1 that 
>> did work ok with the v5 software, but I previously had an old v4 setup.py 
>> installation there.  My 'guess' is that old Pillow version was current at 
>> that point in time many months ago so that's why it was there.  Regardless, 
>> installing v5 on the ancient SD didn't upgrade Pillow from 8.x to 9.x if 
>> that was what was supposed to happen.
>>
>> A clean RaspiOS and clean weewx os installs and runs ok, once that 
>> libopenjp2-7 package is installed on a pi3.
>>
>> On Tuesday, February 21, 2023 at 11:03:03 AM UTC-8 Tom Keffer wrote:
>> On Tue, Feb 21, 2023 at 10:55 AM Lucas Heijst <[email protected]> wrote:
>> Vince, I noticed on my system pip is not in directory site-packages
>>
>> How did you install pip? It does not come with bullseye. If you did "sudo 
>> apt install python3-pip" it will go into /usr/lib/python3/dist-packages, 
>> not /root/.local, nor /usr/local/lib.
>>
>> -tk
>>
>> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "weewx-development" 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-development/227ddb6e-657f-4839-80dd-7ac48724ef12n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-development/227ddb6e-657f-4839-80dd-7ac48724ef12n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/25938c44-535e-4f3c-9b0b-efdb2198ee1fn%40googlegroups.com.

Reply via email to