Skip to content

AttributeError: 'Page' object has no attribute 'getImageList' (Python 3.7) #2

Open
@rybshik

Description

@rybshik

Kaggle Jupiter notebook with virtual environment Python 3.7
(does not work with Python 3.8, 3.9, 3.10)

$ pip install sacremoses
$ pip install protobuf==3.20.3 --upgrade

%%writefile test.py
from survey import Surveyor
mysurveyor = Surveyor()
mysurveyor.survey('vision transformers')

Writing test.py

$ python3.7 test.py

File "/kaggle/working/Auto-Research/src/Surveyor.py", line 1084, in extract_images
images.extend(page.getImageList())
AttributeError: 'Page' object has no attribute 'getImageList'

Related info: https://stackoverflow.com/questions/75321414/python-page-object-has-no-attribute-getimagelist-where-i-try-to-extract-im
https://pymupdf.readthedocs.io/en/latest/znames.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions