Bonsoir à tous

J'ai réalisé plusieurs petits programmes où j'ai eu à importer des images dans un canvas grâce au module Pillow, et cela s'est passé sans problèmes jusqu'à hier. En effet, j'ai changé d'ordinateur, et eu lieu d'installer Python 32 bits comme sur mon ancien PC, j'ai installé Python 3.5.0 64 bits. Bien sûr, j'ai installé la version de Pillow 3.0.0 adéquate : Pillow-3.0.0.win-amd64-py3.5.exe (md5) , sur ce lien :https://pypi.python.org/pypi/Pillow/3.0.0

Mais il ne se passe rien ... et aucuns messages d'erreurs ... voici mon code test :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
from tkinter import*
from PIL import Image, ImageFont, ImageDraw, ImageTk
 
def Aff():
 
    fen=Tk()
    cadre=Canvas(fen,width=200,height=200)
        # Importation d'image dans mon canevas
    dicimg={}
    img=Image.open("victoria.jpg")
    photo=ImageTk.PhotoImage(img) 
    dicimg['']=photo
    item=cadre.create_image(150,150,image=photo)
        # Configuration graphique
    lrg,htr,el,eh=fen.winfo_reqwidth(),fen.winfo_reqheight(),fen.winfo_screenwidth(),fen.winfo_screenheight()
    fen.geometry("%dx%d+%d+%d"%(2*lrg,2*htr,(el-2*lrg)/2,(eh-2*htr)/2))
    fen.config(bg='#01DFD7')
 
    cadre.grid(column=0,row=0,sticky=N,padx=100,pady=100)
    fen.update()
    fen.mainloop()
 
Aff()
Quand je fais exactement le même code sur mon ancien PC, cela marche parfaitement. Sur ces 2 PC, je suis sous win 8.1 64 bits.
Merci de m'avoir lu.