Re: [weewx-user] Re: 4.0.0b16 - No diagrams - No module named 'Image'

2020-03-23 Thread Thomas Keffer
Nothing unusual there.

Best guess is that this is a Debian dependency bug in python-pil
, that carried
over into python3-pil.

Cheers,

-tk

On Mon, Mar 23, 2020 at 9:36 AM Michael  wrote:

> *apt list python3-pil*
>
> pi@raspi02:~ $ apt list python3-pil
> Auflistung... Fertig
> python3-pil/stable,now 5.4.1-2+deb10u1 armhf  [installiert]
>
>
> *apt show python3-pil*
>
> pi@raspi02:~ $ apt show python3-pil
> Package: python3-pil
> Version: 5.4.1-2+deb10u1
> Priority: optional
> Section: python
> Source: pillow
> Maintainer: Matthias Klose 
> Installed-Size: 1.348 kB
> Provides: python3-pillow
> Depends: python3 (<< 3.8), python3 (>= 3.7~), python3:any, mime-support |
> python3-pil.imagetk, libc6 (>= 2.11), libfreetype6 (>= 2.2.1),
> libimagequant0 (>= 2.1
> 1.10), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.2+git20110628),
> libtiff5 (>= 4.0.3), libwebp6 (>= 0.5.1), libwebpdemux2 (>= 0.5.1),
> libwebpmux3 (>= 0.6.1-2
> ), zlib1g (>= 1:1.1.4)
> Recommends: python3-olefile
> Suggests: python-pil-doc, python3-pil-dbg
> Conflicts: python3-imaging (<< 1.1.7+2.0.0-1.1)
> Breaks: python3-imaging (<< 1.1.7+2.0.0-1.1)
> Replaces: python3-imaging (<< 1.1.7+2.0.0-1.1)
> Homepage: http://python-pillow.github.io/
> Download-Size: 364 kB
> APT-Manual-Installed: yes
> APT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf
> Packages
> Description: Python Imaging Library (Python3)
>  The Python Imaging Library (PIL) adds an image object to your Python
>  interpreter. You can load images from a variety of file formats, and
>  apply a rich set of image operations to them.
>  .
>  Image Objects:
>   o Bilevel, greyscale, palette, true colour (RGB), true colour with
> transparency (RGBA).
>   o colour separation (CMYK).
>   o Copy, cut, paste operations.
>   o Flip, transpose, resize, rotate, and arbitrary affine transforms.
>   o Transparency operations.
>   o Channel and point operations.
>   o Colour transforms, including matrix operations.
>   o Image enhancement, including convolution filters.
>  .
>  File Formats:
>   o Full (Open/Load/Save): BMP, EPS (with ghostscript), GIF, IM, JPEG,
> MSP, PDF, PNG, PPM, TIFF, XBM.
>   o Read only (Open/Load): ARG, CUR, DCX, FLI, FPX, GBR, GD, ICO, IMT,
> IPTC,
> MCIDAS, MPEG, PhotoCD, PCX, PIXAR, PSD, TGA, SGI, SUN, TGA, WMF, XPM.
>   o Save only: PDF, EPS (without ghostscript).
>
>
> *cat /etc/issue*
>
> pi@raspi02:~ $ cat /etc/issue
> Raspbian GNU/Linux 10 \n \l
>
> --
> 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/cc84e15a-5920-4d4a-902e-ada1d6588aef%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/CAPq0zEC8E4852%3D-LnR%3DFGiCKt5YjOFupGA%3Df%2BVq8iPSt5MHfLg%40mail.gmail.com.


Re: [weewx-user] Re: 4.0.0b16 - No diagrams - No module named 'Image'

2020-03-23 Thread Michael
*apt list python3-pil*

pi@raspi02:~ $ apt list python3-pil
Auflistung... Fertig
python3-pil/stable,now 5.4.1-2+deb10u1 armhf  [installiert]


*apt show python3-pil*

pi@raspi02:~ $ apt show python3-pil
Package: python3-pil
Version: 5.4.1-2+deb10u1
Priority: optional
Section: python
Source: pillow
Maintainer: Matthias Klose 
Installed-Size: 1.348 kB
Provides: python3-pillow
Depends: python3 (<< 3.8), python3 (>= 3.7~), python3:any, mime-support | 
python3-pil.imagetk, libc6 (>= 2.11), libfreetype6 (>= 2.2.1), 
libimagequant0 (>= 2.1
1.10), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.2+git20110628), 
libtiff5 (>= 4.0.3), libwebp6 (>= 0.5.1), libwebpdemux2 (>= 0.5.1), 
libwebpmux3 (>= 0.6.1-2
), zlib1g (>= 1:1.1.4)
Recommends: python3-olefile
Suggests: python-pil-doc, python3-pil-dbg
Conflicts: python3-imaging (<< 1.1.7+2.0.0-1.1)
Breaks: python3-imaging (<< 1.1.7+2.0.0-1.1)
Replaces: python3-imaging (<< 1.1.7+2.0.0-1.1)
Homepage: http://python-pillow.github.io/
Download-Size: 364 kB
APT-Manual-Installed: yes
APT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf 
Packages
Description: Python Imaging Library (Python3)
 The Python Imaging Library (PIL) adds an image object to your Python
 interpreter. You can load images from a variety of file formats, and
 apply a rich set of image operations to them.
 .
 Image Objects:
  o Bilevel, greyscale, palette, true colour (RGB), true colour with
transparency (RGBA).
  o colour separation (CMYK).
  o Copy, cut, paste operations.
  o Flip, transpose, resize, rotate, and arbitrary affine transforms.
  o Transparency operations.
  o Channel and point operations.
  o Colour transforms, including matrix operations.
  o Image enhancement, including convolution filters.
 .
 File Formats:
  o Full (Open/Load/Save): BMP, EPS (with ghostscript), GIF, IM, JPEG,
MSP, PDF, PNG, PPM, TIFF, XBM.
  o Read only (Open/Load): ARG, CUR, DCX, FLI, FPX, GBR, GD, ICO, IMT, IPTC,
MCIDAS, MPEG, PhotoCD, PCX, PIXAR, PSD, TGA, SGI, SUN, TGA, WMF, XPM.
  o Save only: PDF, EPS (without ghostscript).


*cat /etc/issue*

pi@raspi02:~ $ cat /etc/issue
Raspbian GNU/Linux 10 \n \l

-- 
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/cc84e15a-5920-4d4a-902e-ada1d6588aef%40googlegroups.com.


Re: [weewx-user] Re: 4.0.0b16 - No diagrams - No module named 'Image'

2020-03-23 Thread Thomas Keffer
Hmm, I wonder where the dependency on libopenjp2 came from? Could you run
these commands?

apt list python3-pil
apt show python3-pil
cat /etc/issue

On Mon, Mar 23, 2020 at 8:09 AM Michael  wrote:

> here it is...:
>
> pi@raspi02:~ $ python3 -c "import Image"
> Traceback (most recent call last):
> File "", line 1, in 
> ModuleNotFoundError: No module named 'Image'
> pi@raspi02:~ $ python3 -c "from PIL import Image"
> Traceback (most recent call last):
> File "", line 1, in 
> File "/usr/local/lib/python3.7/dist-packages/PIL/Image.py", line 69, in
> 
> from . import _imaging as core
> ImportError: libopenjp2.so.7: cannot open shared object file: No such file
> or directory
> pi@raspi02:~ $ python3 -c "import sys; print(sys.path)"
> ['', '/usr/lib/python37.zip', '/usr/lib/python3.7',
> '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages',
> '/usr/lib/python3/dist-packages
> ']
>
> with this result google fed.
> and then installed libopenjp2-7.
> And the diagrams are displayed.
> Thanks for the support.
>
> --
> 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/76dcf777-0fbf-437f-947a-c7c8a266af38%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/CAPq0zEBHqTJ4bWqu_u6n4sXJCBUJYbG-wvRLXY6Me%2B7KFCK6Sg%40mail.gmail.com.


Re: [weewx-user] Re: 4.0.0b16 - No diagrams - No module named 'Image'

2020-03-23 Thread Michael
here it is...:

pi@raspi02:~ $ python3 -c "import Image"
Traceback (most recent call last):
File "", line 1, in 
ModuleNotFoundError: No module named 'Image'
pi@raspi02:~ $ python3 -c "from PIL import Image"
Traceback (most recent call last):
File "", line 1, in 
File "/usr/local/lib/python3.7/dist-packages/PIL/Image.py", line 69, in 

from . import _imaging as core
ImportError: libopenjp2.so.7: cannot open shared object file: No such file 
or directory
pi@raspi02:~ $ python3 -c "import sys; print(sys.path)"
['', '/usr/lib/python37.zip', '/usr/lib/python3.7', 
'/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', 
'/usr/lib/python3/dist-packages
']

with this result google fed.
and then installed libopenjp2-7.
And the diagrams are displayed.
Thanks for the support.

-- 
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/76dcf777-0fbf-437f-947a-c7c8a266af38%40googlegroups.com.


Re: [weewx-user] Re: 4.0.0b16 - No diagrams - No module named 'Image'

2020-03-22 Thread Thomas Keffer
Let's make sure python-pil installed where the interpreter can find it. One
of these two should work.

*python3 -c "import Image"*
*python3 -c "from PIL import Image"*

If neither works, and you're sure you installed python3-pil, then python3
is searching in some non-standard place. Here is where it's searching:

*python3 -c "import sys; print(sys.path)"*

-tk

On Sun, Mar 22, 2020 at 9:02 AM Michael  wrote:

> python3-pil was already installed
>
> pi@raspi02:~ $ sudo apt install python3-pil
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut.
> Statusinformationen werden eingelesen Fertig
> python3-pil ist schon die neueste Version (5.4.1-2+deb10u1).
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
>
>> --
> 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/d31d54e0-5502-4c4d-8f49-54adc0126deb%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/CAPq0zEA%2BUbktGsNYSOMWEOTHXPJPgmX9HGjUg_uSr64EYka88A%40mail.gmail.com.


[weewx-user] Re: 4.0.0b16 - No diagrams - No module named 'Image'

2020-03-22 Thread Michael
python3-pil was already installed

pi@raspi02:~ $ sudo apt install python3-pil
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen Fertig
python3-pil ist schon die neueste Version (5.4.1-2+deb10u1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.

>

-- 
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/d31d54e0-5502-4c4d-8f49-54adc0126deb%40googlegroups.com.