Ah! So, it looks like the problem was caused by installing Pillow from the
weewx home directory at some point.

I can't tell you how many times that has happened to me.

-tk


On Fri, Jul 31, 2020 at 7:23 PM jerry...@gmail.com <jerry.ke...@gmail.com>
wrote:

> Solved.  There were residual py*37 files in PIL, so
> rm -rf ~/weewx/bin/PIL/*
> followed by a python3 setup.py install (I'm not sure that was needed)
> and it's all good.
> On Friday, July 31, 2020 at 6:15:27 PM UTC-7 tke...@gmail.com wrote:
>
>> You've got me stumped. I would try the uninstall/install. Make sure you
>> don't do it from the weewx home directory.
>>
>> But, before you do, how about seeing what's in that home directory?
>>
>> *ls -l /Users/rycweather/weewx/*
>>
>> Then try the uninstall/install:
>>
>> *cd ~*
>>
>>
>> *pip3 uninstall PILpip3 uninstall Pillowpip3 install Pillow*
>>
>> On Fri, Jul 31, 2020 at 5:27 PM jerry...@gmail.com <jerry...@gmail.com>
>> wrote:
>>
>>> That looks ok also.
>>> └─[$] <> python3 -c "from PIL import _imaging; print(_imaging.__file__)"
>>> /usr/local/lib/python3.8/site-packages/PIL/_imaging.cpython-38-darwin.so
>>>
>>> On Friday, July 31, 2020 at 3:32:19 PM UTC-7 tke...@gmail.com wrote:
>>>
>>>> Looking back at your original post, I'm wondering if you're missing the
>>>> C library _imaging. Try this:
>>>>
>>>> *python3 -c "from PIL import _imaging; print(_imaging.__file__)"*
>>>>
>>>> You should get something like
>>>>
>>>> /usr/local/lib/python3.8/site-packages/PIL/_
>>>> imaging.cpython-37m-darwin.so
>>>>
>>>> If you get an exception, then try uninstalling both PIL (in case it is
>>>> present; it shouldn't be), and Pillow, then reinstalling just Pillow:
>>>>
>>>>
>>>>
>>>>
>>>> *pip3 uninstall PILpip3 uninstall Pillowpip3 install Pillow*
>>>>
>>>> See if that helps.
>>>>
>>>> -tk
>>>>
>>>>
>>>>
>>>> On Fri, Jul 31, 2020 at 2:12 PM jerry...@gmail.com <jerry...@gmail.com>
>>>> wrote:
>>>>
>>>>> Seems OK.
>>>>> └─[$] <> pip3 list -v
>>>>> Package    Version Location                               Installer
>>>>> ---------- ------- -------------------------------------- ---------
>>>>> Cheetah3   3.2.5   /usr/local/lib/python3.8/site-packages pip
>>>>> configobj  5.0.6   /usr/local/lib/python3.8/site-packages pip
>>>>> ephem      3.7.7.0 /usr/local/lib/python3.8/site-packages pip
>>>>> Pillow     7.2.0   /usr/local/lib/python3.8/site-packages pip
>>>>> pip        20.2    /usr/local/lib/python3.8/site-packages pip
>>>>> pyephem    3.7.7.0 /usr/local/lib/python3.8/site-packages pip
>>>>> pyserial   3.4     /usr/local/lib/python3.8/site-packages pip
>>>>> pyusb      1.0.2   /usr/local/lib/python3.8/site-packages pip
>>>>> setuptools 49.2.0  /usr/local/lib/python3.8/site-packages
>>>>> six        1.15.0  /usr/local/lib/python3.8/site-packages pip
>>>>> wheel      0.34.2  /usr/local/lib/python3.8/site-packages
>>>>>
>>>>>
>>>>> --
>>>>> 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+...@googlegroups.com.
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/weewx-user/2ee63fd4-d60e-4ebe-85bd-adf2ae3e36adn%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/2ee63fd4-d60e-4ebe-85bd-adf2ae3e36adn%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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/f220ff59-7d20-43c8-a024-8b860bada7ffn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/f220ff59-7d20-43c8-a024-8b860bada7ffn%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/df2bbe7c-f403-4cb9-9a57-dfc717b7365bn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/df2bbe7c-f403-4cb9-9a57-dfc717b7365bn%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/CAPq0zEB40M2EcTiDofLE3pU%2B9VJ5ouSMmbyvT%3DhHGbTGM4VdNA%40mail.gmail.com.

Reply via email to