I have this code:
import Image
import pygame, sys
from pygame.locals import *
pygame.init()
catImg = Image.open("cat.jpg")
I am using Python 3.3 and latest version of Pillow. But when I run this code I get:
ImportError: No module named 'Image'
I uninstall PIL. Can somebody help me?
Seems you're using an incorrect import, try:
from PIL import Image
instead.