我正在尝试用Python创建Image Captcha,但在输出中却出现了错误。请问以下问题。
代码:
from captcha.imgae import ImageCaptcha
ic = ImageCaptcha()
ic.write("siva","one.png")
print("Captcha IMAGE is created")
输出:
Traceback (most recent call last):
File "D:\Python\practice35.py", line 3, in <module>
from captcha.imgae import ImageCaptcha
ModuleNotFoundError: No module named 'captcha.imgae'
答案 0 :(得分:0)
看起来是错字,应该有captcha.image