Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-08-01 Thread jerry...@gmail.com
Wow.  It never even occurred to me that PIL shouldn't be there at all.  The 
files were there from early May when I cut over to 4.1 and saw some 
graphics issues with an extension.  It could be even older.  I probably ran 
uninstall / reinstall on the Python dependencies from ~/weewx.  The native 
macOS Python doesn't change often, so it didn't matter.  But I just 
switched over to the HomeBrew version when graphics generation broke.
Is that worth a caveat on the macOS installation page?
Thanks for your help

On Saturday, August 1, 2020 at 5:28:54 AM UTC-7 tke...@gmail.com wrote:

> 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  
> 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  
>>> 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  
> wrote:
>
>> Seems OK.
>> └─[$] <> pip3 list -v
>> PackageVersion 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
>> pip20.2/usr/local/lib/python3.8/site-packages pip
>> pyephem3.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
>> six1.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
>>  
>> 
>> .
>>
> -- 
 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
  
 
 .

>>> -- 
>> 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 
>> 

Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-08-01 Thread Tom Keffer
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 
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 
>> 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 
 wrote:

> Seems OK.
> └─[$] <> pip3 list -v
> PackageVersion 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
> pip20.2/usr/local/lib/python3.8/site-packages pip
> pyephem3.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
> six1.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
> 
> .
>
 --
>>> 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
>>> 
>>> .
>>>
>> --
> 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
> 
> .
>

-- 
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.


Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread jerry...@gmail.com
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  
> 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  
>>> wrote:
>>>
 Seems OK.
 └─[$] <> pip3 list -v
 PackageVersion 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
 pip20.2/usr/local/lib/python3.8/site-packages pip
 pyephem3.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
 six1.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
  
 
 .

>>> -- 
>> 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
>>  
>> 
>> .
>>
>

-- 
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.


Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread Tom Keffer
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 
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 
>> wrote:
>>
>>> Seems OK.
>>> └─[$] <> pip3 list -v
>>> PackageVersion 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
>>> pip20.2/usr/local/lib/python3.8/site-packages pip
>>> pyephem3.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
>>> six1.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
>>> 
>>> .
>>>
>> --
> 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/f220ff59-7d20-43c8-a024-8b860bada7ffn%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEBkL4uyH8tH0PCrcNVxt0x340SSN8xWkFq%2BSBTWHiV7sg%40mail.gmail.com.


Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread jerry...@gmail.com
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  
> wrote:
>
>> Seems OK.
>> └─[$] <> pip3 list -v
>> PackageVersion 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
>> pip20.2/usr/local/lib/python3.8/site-packages pip
>> pyephem3.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
>> six1.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
>>  
>> 
>> .
>>
>

-- 
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/f220ff59-7d20-43c8-a024-8b860bada7ffn%40googlegroups.com.


Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread Tom Keffer
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 
wrote:

> Seems OK.
> └─[$] <> pip3 list -v
> PackageVersion 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
> pip20.2/usr/local/lib/python3.8/site-packages pip
> pyephem3.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
> six1.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+unsubscr...@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
> 
> .
>

-- 
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/CAPq0zEAEma%2BXF8e%2B1OKBUr98Wse3cQR66uh56RdgYT%2BPAU7J3g%40mail.gmail.com.


Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread jerry...@gmail.com
Seems OK.
└─[$] <> pip3 list -v
PackageVersion 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
pip20.2/usr/local/lib/python3.8/site-packages pip
pyephem3.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
six1.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+unsubscr...@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.


Re: [weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread Tom Keffer
I see that you used the setup.py install method. When you installed Pillow,
did you by any chance install it from the weewx home directory? If so, pip
will see the setup.cfg file, and try to install Pillow in (in this case),
/Users/rycweather/weewx, instead of in a systems directory

Use pip with the list option, and verbose, and it will show where
everything is installed:

*pip3 list -v*

See if Pillow (or anything else), was accidentally installed in
/Users/rycweather/weewx.

--tk

On Fri, Jul 31, 2020 at 12:52 PM jerry...@gmail.com 
wrote:

> I upgraded Python to 3.8.5, reinstalled Weewx.  Python -V is OK. Davis
> loop data is ok, but now seeing errors in image generation.  Pillow and
> other dependencies were reinstalled.  What am I missing?  Or was Python
> 3.8.5 a mistake.  I have dumped and cleared memory on the Vantage Pro.
>
> weewx[89452] INFO __main__: Initializing weewx version 4.1.1
> weewx[89452] INFO __main__: Using Python 3.8.5 (default, Jul 21 2020,
> 10:48:26)
> [Clang 11.0.3 (clang-1103.0.32.62)]
> weewx[89452] INFO __main__: Platform macOS-10.15.6-x86_64-i386-64bit
> weewx[89452] INFO __main__: Locale is 'C/UTF-8/C/C/C/C'
> weewx[89452] INFO __main__: Using configuration file
> /Users/rycweather/weewx/weewx.conf
> weewx[89452] INFO __main__: Debug is 1
> weewx[89452] DEBUG __main__: Initializing engine
> weewx[89452] INFO weewx.engine: Loading station type Vantage
> (weewx.drivers.vantage)
> weewx[89452] DEBUG weewx.drivers.vantage: Driver version is 3.2.1
> weewx[89452] DEBUG weewx.drivers.vantage: Opened up ethernet host
> 192.168.145.106 on port 2. timeout=4.0, tcp_send_delay=0.5
> weewx[89452] DEBUG weewx.drivers.vantage: Gentle wake up of console
> successful
> weewx[89452] DEBUG weewx.drivers.vantage: Hardware type is 16
> weewx[89452] DEBUG weewx.drivers.vantage: ISS ID is 3
> weewx[89452] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
> weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdTimeSynch
> weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
> weewx[89452] INFO weewx.engine: StdConvert target unit is 0x1
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdConvert
> weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdCalibrate
> weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdQC
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdQC
> weewx[89452] DEBUG weewx.engine: Loading service
> weewx.wxservices.StdWXCalculate
> weewx[89452] DEBUG weewx.manager: Daily summary version is 2.0
> weewx[89452] INFO weewx.wxservices: The following values will be
> calculated: pressure=prefer_hardware, barometer=prefer_hardware,
> altimeter=prefer_hardware, windchill=prefer_hardware,
> heatindex=prefer_hardware, dewpoint=prefer_hardware,
> inDewpoint=prefer_hardware, rainRate=prefer_hardware,
> maxSolarRad=prefer_hardware, cloudbase=prefer_hardware,
> humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware,
> windrun=prefer_hardware
> weewx[89452] INFO weewx.wxservices: The following algorithms will be used
> for calculations: altimeter=aaASOS, maxSolarRad=RS
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.wxservices.StdWXCalculate
> weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
> weewx[89452] INFO weewx.engine: Archive will use data binding wx_binding
> weewx[89452] INFO weewx.engine: Record generation will be attempted in
> 'hardware'
> weewx[89452] INFO weewx.engine: Using archive interval of 300 seconds
> (specified by hardware)
> weewx[89452] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdArchive
> weewx[89452] DEBUG weewx.engine: Loading service
> weewx.restx.StdStationRegistry
> weewx[89452] INFO weewx.restx: StationRegistry: Station will be registered.
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdStationRegistry
> weewx[89452] DEBUG weewx.engine: Loading service
> weewx.restx.StdWunderground
> weewx[89452] DEBUG weewx.restx: WU essentials: {}
> weewx[89452] INFO weewx.restx: Wunderground-PWS: Data for station
> KCACALIF93 will be posted
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdWunderground
> weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
> weewx[89452] INFO weewx.restx: PWSweather: Posting not enabled.
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdPWSweather
> weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
> weewx[89452] INFO weewx.restx: CWOP: Posting not enabled.
> weewx[89452] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdCWOP
> weewx[89452] DEBUG weewx.engine: 

[weewx-user] Python 3.7.3 to 3.8.5 upgrade problem

2020-07-31 Thread jerry...@gmail.com
I upgraded Python to 3.8.5, reinstalled Weewx.  Python -V is OK. Davis loop 
data is ok, but now seeing errors in image generation.  Pillow and other 
dependencies were reinstalled.  What am I missing?  Or was Python 3.8.5 a 
mistake.  I have dumped and cleared memory on the Vantage Pro.

weewx[89452] INFO __main__: Initializing weewx version 4.1.1
weewx[89452] INFO __main__: Using Python 3.8.5 (default, Jul 21 2020, 
10:48:26) 
[Clang 11.0.3 (clang-1103.0.32.62)]
weewx[89452] INFO __main__: Platform macOS-10.15.6-x86_64-i386-64bit
weewx[89452] INFO __main__: Locale is 'C/UTF-8/C/C/C/C'
weewx[89452] INFO __main__: Using configuration file 
/Users/rycweather/weewx/weewx.conf
weewx[89452] INFO __main__: Debug is 1
weewx[89452] DEBUG __main__: Initializing engine
weewx[89452] INFO weewx.engine: Loading station type Vantage 
(weewx.drivers.vantage)
weewx[89452] DEBUG weewx.drivers.vantage: Driver version is 3.2.1
weewx[89452] DEBUG weewx.drivers.vantage: Opened up ethernet host 
192.168.145.106 on port 2. timeout=4.0, tcp_send_delay=0.5
weewx[89452] DEBUG weewx.drivers.vantage: Gentle wake up of console 
successful
weewx[89452] DEBUG weewx.drivers.vantage: Hardware type is 16
weewx[89452] DEBUG weewx.drivers.vantage: ISS ID is 3
weewx[89452] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.engine.StdTimeSynch
weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
weewx[89452] INFO weewx.engine: StdConvert target unit is 0x1
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.engine.StdConvert
weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.engine.StdCalibrate
weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdQC
weewx[89452] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
weewx[89452] DEBUG weewx.engine: Loading service 
weewx.wxservices.StdWXCalculate
weewx[89452] DEBUG weewx.manager: Daily summary version is 2.0
weewx[89452] INFO weewx.wxservices: The following values will be 
calculated: pressure=prefer_hardware, barometer=prefer_hardware, 
altimeter=prefer_hardware, windchill=prefer_hardware, 
heatindex=prefer_hardware, dewpoint=prefer_hardware, 
inDewpoint=prefer_hardware, rainRate=prefer_hardware, 
maxSolarRad=prefer_hardware, cloudbase=prefer_hardware, 
humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware, 
windrun=prefer_hardware
weewx[89452] INFO weewx.wxservices: The following algorithms will be used 
for calculations: altimeter=aaASOS, maxSolarRad=RS
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.wxservices.StdWXCalculate
weewx[89452] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
weewx[89452] INFO weewx.engine: Archive will use data binding wx_binding
weewx[89452] INFO weewx.engine: Record generation will be attempted in 
'hardware'
weewx[89452] INFO weewx.engine: Using archive interval of 300 seconds 
(specified by hardware)
weewx[89452] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.engine.StdArchive
weewx[89452] DEBUG weewx.engine: Loading service 
weewx.restx.StdStationRegistry
weewx[89452] INFO weewx.restx: StationRegistry: Station will be registered.
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.restx.StdStationRegistry
weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
weewx[89452] DEBUG weewx.restx: WU essentials: {}
weewx[89452] INFO weewx.restx: Wunderground-PWS: Data for station 
KCACALIF93 will be posted
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.restx.StdWunderground
weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
weewx[89452] INFO weewx.restx: PWSweather: Posting not enabled.
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.restx.StdPWSweather
weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
weewx[89452] INFO weewx.restx: CWOP: Posting not enabled.
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.restx.StdCWOP
weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
weewx[89452] INFO weewx.restx: WOW: Posting not enabled.
weewx[89452] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
weewx[89452] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
weewx[89452] INFO weewx.restx: AWEKAS: Posting not enabled.
weewx[89452] DEBUG weewx.engine: Finished loading service 
weewx.restx.StdAWEKAS
weewx[89452] DEBUG weewx.engine: Loading service user.windy.Windy
weewx[89452] DEBUG weewx.manager: Daily summary version is 2.0
weewx[89452] INFO user.windy: version is 0.7
weewx[89452] INFO user.windy: Data will be uploaded to 
https://stations.windy.com/pws/update
weewx[89452] DEBUG weewx.engine: