You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 1, in <module>
from pdfreader import PDFDocument
File "~/Library/Python/3.12/lib/python/site-packages/pdfreader/__init__.py", line 3, in <module>
from .viewer import SimplePDFViewer, PageDoesNotExist
File "~/Library/Python/3.12/lib/python/site-packages/pdfreader/viewer/__init__.py", line 5, in <module>
from .simple import SimplePDFViewer
File "~/Library/Python/3.12/lib/python/site-packages/pdfreader/viewer/simple.py", line 6, in <module>
from ..codecs.decoder import Decoder, default_decoder
File "~/Library/Python/3.12/lib/python/site-packages/pdfreader/codecs/decoder.py", line 3, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
The text was updated successfully, but these errors were encountered:
Wanting to try the CMap tutorial I installed latest with
pip3 install pdfreader
, and tried the first code example:which failed with:
The text was updated successfully, but these errors were encountered: