1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Import image in python

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    I am a beginner in python and I have problems executing my code. how can i fix this error with python:

    import cgitb
    cgitb.enable()

    print('Content-type: text/html\r\n')
    print('\r\n')

    import Image, ImageDraw

    import sys
    import math, random
    from itertools import product
    from ufarray import *


    ModuleNotFoundError: No module named 'Image'
    args = ("No module named 'Image'",)
    msg = "No module named 'Image'"
    name = 'Image'
    path = None
    with_traceback = <built-in method with_traceback of ModuleNotFoundError

    Continue reading...

Compartilhe esta Página