I need to get text and svgs incorporated in pdf in python. I tried PyDF2, PyPDF4, tika did not work. I tried using pymupdf but getting below error. Can some help me with it. I am using python 3.8, pycharm. All modules required for pymupdf are already there.
Error :
Traceback (most recent call last):
File "path/PDFImage.py", line 2, in <module>
doc = fitz.open("./Docs/pdffile.pdf")
AttributeError: module 'fitz' has no attribute 'open'