generative-ai icon indicating copy to clipboard operation
generative-ai copied to clipboard

There is problem with Pymupdf in intro_multimodal_rag_utils.py

Open ZeeshanHussainKh opened this issue 1 year ago • 2 comments

The fitz library is not working or supporting the Pymupdf anyomore.

Kindly resolve.

error

ZeeshanHussainKh avatar Jan 15 '24 00:01 ZeeshanHussainKh

Did PR #343 fix the issue for you?

holtskinner avatar Jan 17 '24 14:01 holtskinner

@holtskinner

Hi, I managed to resolve it.

However , I had to downgrade the version of pymupdf to 1.23.12 and it resolved this issue for me.

The problem is still present however with the the latest version of pymupdf (1.23.15). It gives an error in the following line of the intro_multimodal_rag_utils.py

  1. import fitz

ZeeshanHussainKh avatar Jan 17 '24 14:01 ZeeshanHussainKh

I was able to solve it with

!pip install PyMuPDF

instead of

!pip install pymupdf

ab-kotecha avatar Feb 28 '24 15:02 ab-kotecha