Advertisement
cqlanus

troubleshooting from earlier weewx thread

Jan 17th, 2021
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.38 KB | None | 0 0
  1. #+BEGIN_SRC bash
  2. root@weewx-84bfc8b796-gwrr7:/home/weewx#  apt install python3-pil
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. python3-pil is already the newest version (5.4.1-2+deb10u2).
  7. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
  8. #+END_SRC
  9.  
  10. #+BEGIN_SRC bash
  11. root@weewx-84bfc8b796-gwrr7:/home/weewx# python3 -c "import Image"
  12. Traceback (most recent call last):
  13.   File "<string>", line 1, in <module>
  14. ModuleNotFoundError: No module named 'Image'
  15.  
  16. root@weewx-84bfc8b796-gwrr7:/home/weewx# python3 -c "from PIL import Image"
  17. Traceback (most recent call last):
  18.   File "<string>", line 1, in <module>
  19. ModuleNotFoundError: No module named 'PIL'
  20.  
  21. root@weewx-84bfc8b796-gwrr7:/home/weewx# python3 -c "import sys; print(sys.path)"
  22. ['', '/usr/local/lib/python39.zip', '/usr/local/lib/python3.9', '/usr/local/lib/python3.9/lib-dynload', '/opt/venv/lib/python3.9/site-packages']
  23. root@weewx-84bfc8b796-gwrr7:/home/weewx#
  24. #+END_SRC
  25.  
  26. #+BEGIN_SRC bash
  27. root@weewx-84bfc8b796-gwrr7:/home/weewx# apt list python3-pil
  28. Listing... Done
  29. python3-pil/stable,now 5.4.1-2+deb10u2 armhf [installed]
  30. N: There is 1 additional version. Please use the '-a' switch to see it
  31.  
  32. root@weewx-84bfc8b796-gwrr7:/home/weewx# apt show python3-pil
  33. Package: python3-pil
  34. Version: 5.4.1-2+deb10u2
  35. Priority: optional
  36. Section: python
  37. Source: pillow
  38. Maintainer: Matthias Klose <doko@debian.org>
  39. Installed-Size: 1266 kB
  40. Provides: python3-pillow
  41. 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)
  42. Recommends: python3-olefile
  43. Suggests: python-pil-doc, python3-pil-dbg
  44. Conflicts: python3-imaging (<< 1.1.7+2.0.0-1.1)
  45. Breaks: python3-imaging (<< 1.1.7+2.0.0-1.1)
  46. Replaces: python3-imaging (<< 1.1.7+2.0.0-1.1)
  47. Homepage: http://python-pillow.github.io/
  48. Download-Size: 367 kB
  49. APT-Manual-Installed: yes
  50. APT-Sources: http://deb.debian.org/debian buster/main armhf Packages
  51. Description: Python Imaging Library (Python3)
  52.  
  53. N: There is 1 additional record. Please use the '-a' switch to see it
  54.  
  55. root@weewx-84bfc8b796-gwrr7:/home/weewx# cat /etc/issue
  56. Debian GNU/Linux 10 \n \l
  57. #+END_SRC
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement