Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #+BEGIN_SRC bash
- root@weewx-84bfc8b796-gwrr7:/home/weewx# apt install python3-pil
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- python3-pil is already the newest version (5.4.1-2+deb10u2).
- 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
- #+END_SRC
- #+BEGIN_SRC bash
- root@weewx-84bfc8b796-gwrr7:/home/weewx# python3 -c "import Image"
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- ModuleNotFoundError: No module named 'Image'
- root@weewx-84bfc8b796-gwrr7:/home/weewx# python3 -c "from PIL import Image"
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- ModuleNotFoundError: No module named 'PIL'
- root@weewx-84bfc8b796-gwrr7:/home/weewx# python3 -c "import sys; print(sys.path)"
- ['', '/usr/local/lib/python39.zip', '/usr/local/lib/python3.9', '/usr/local/lib/python3.9/lib-dynload', '/opt/venv/lib/python3.9/site-packages']
- root@weewx-84bfc8b796-gwrr7:/home/weewx#
- #+END_SRC
- #+BEGIN_SRC bash
- root@weewx-84bfc8b796-gwrr7:/home/weewx# apt list python3-pil
- Listing... Done
- python3-pil/stable,now 5.4.1-2+deb10u2 armhf [installed]
- N: There is 1 additional version. Please use the '-a' switch to see it
- root@weewx-84bfc8b796-gwrr7:/home/weewx# apt show python3-pil
- Package: python3-pil
- Version: 5.4.1-2+deb10u2
- Priority: optional
- Section: python
- Source: pillow
- Maintainer: Matthias Klose <doko@debian.org>
- Installed-Size: 1266 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.11.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: 367 kB
- APT-Manual-Installed: yes
- APT-Sources: http://deb.debian.org/debian buster/main armhf Packages
- Description: Python Imaging Library (Python3)
- N: There is 1 additional record. Please use the '-a' switch to see it
- root@weewx-84bfc8b796-gwrr7:/home/weewx# cat /etc/issue
- Debian GNU/Linux 10 \n \l
- #+END_SRC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement