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

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

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

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 Pill

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

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

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

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 t