Jump to content

[Résolu]-[Python](program exited with code: 1)

Recommended Posts

Avis aux Pythonistas du forum

J'ai cette erreur: (program exited with code: 1) dans mon code avec python 3.5:

Traceback (most recent call last):
File "monprog.py", line 11, in <module>
from PIL import Image, ImageTk  # Module PIL
ImportError: cannot import name ImageTk


# -*- coding: utf8 -*-

from Tkinter import *
import os
from PIL import Image, ImageTk
import Tkinter.messagebox
import Tkinter.filedialog


Pourtant le module PIL est bien installé (Debian)

Des idées ?



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...