=== foobar4301off is now known as foobar4301 [14:58] tach, wie mache ich eine netzwerkbrücke von meiner umts karte zu nem anderen rechner? [14:59] soll dann über netzwerkkabel laufen [15:00] ach, mist ich hab ja noch nen termin, ich stelle die frage ein andermal, sorry :> === Fuchs_ is now known as Guest28469 === Guest28469 is now known as Fuchs === itu_ is now known as itu [19:15] NAbend. Ich würde gerne in Python3 → from PIL import Image, ImageTk → doch leider → ModuleNotFoundError: No module named 'PIL' [19:15] Angeblich soll Pillow ein Fork sein, aber da haben sie "Image" rausgenommen. Bin noch ziemlich rookie in Python und wollte ein paar Demos durchgehen. [19:16] http://zetcode.com/tkinter/snake/ [19:16] Title: Snake in Tkinter - creating Snake game clone with Python and Tkinter (at zetcode.com) [19:21] dreamon: ist denn python3-pil installiert? [19:22] k1l, ja [19:23] nimmt das denn auch python3? oder nimmst du da python2.x, dann wöre es das paket python-pil [19:23] python3-pil ist schon die neueste Version (5.1.0-1). [19:23] python 3.7 [19:24] Aber auch python-pil wäre installiert [19:24] das ist das pillow paket. [19:24] Ah hab gelesen das nur eines installiert sein darf, dann mach ich das mal besser runter? [19:25] nein, das debian/ubuntu paket ist nicht pil sondern der pillow fork [19:25] dreamon, welche Ubuntuversion isn das? [19:25] Bei mir geht das problemlos [19:25] 18.04 [19:28] auch bei pillow gibts noch das image module. [19:28] kannst du mal `apt policy python3-pil` in einen pastebin packen? [19:29] https://pastebin.ubuntu.com/p/2wppTvH6zV/ [19:29] Title: Ubuntu Pastebin (at pastebin.ubuntu.com) [19:29] seltsam, exakt die gleiche version, die ich hier habe [19:30] ah … ich hab's mit python3.6 probiert [19:31] jo, pil ist für Python3.6 paketiert [19:32] benutz mal #!/usr/bin/env python3.6 als shebang, dann wird das funktionieren [19:33] was gibt "which -a python3" aus? was anderes als /usr/bin/python3 ? [19:33] which -a python3 → /usr/bin/python3 [19:36] drc, Leider gleicher Fehler. [19:36] kannst du das in einem terminal reproduzieren? `python3.6`, dann `>>> from PIL import Image`? [19:37] drc, Da geht es.. *GRÜBEL* [19:38] Aber "python3.6 snake.py" Fehler. [19:38] Aber: [19:38] File "snake.py", line 16, in [19:38] from PIL import Image, ImageTk [19:38] ImportError: cannot import name 'ImageTk' [19:38] Es geht um ImageTk [19:39] Ja das wirft er auch im Terminal als Fehler raus. [19:42] python3-pil.imagetk installieren [19:44] k1l \o/ Danke