Cannot import name 'DonutProcessor'

HI all, I’m trying to test run a quick inference with Donut for document parsing. So I’m runnig this code:

from transformers import DonutProcessor, VisionEncoderDecoderModel

processor = DonutProcessor.from_pretrained(“naver-clova-ix/donut-base-finetuned-cord-v2”)
model = VisionEncoderDecoderModel.from_pretrained(“naver-clova-ix/donut-base-finetuned-cord-v2”)

…but I’m getting this:

ImportError Traceback (most recent call last)
in ()
----> 1 from transformers import DonutProcessor, VisionEncoderDecoderModel
2
3 processor = DonutProcessor.from_pretrained(“naver-clova-ix/donut-base-finetuned-cord-v2”)
4 model = VisionEncoderDecoderModel.from_pretrained(“naver-clova-ix/donut-base-finetuned-cord-v2”)

ImportError: cannot import name ‘DonutProcessor’

I was wondering the latest version I pip installed (4.18.0), does not have the DonutProcessor library. Otherwise, how could I resolve this issue? Thx.