Replies: 1 comment
-
Hi @GemRK . Thanks for trying out
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just written the basic code of pdfplumber and have installed both pdfminer and pdfplumber. I am unable to figure out the error.
Code:
import pdfplumber
with pdfplumber.open('Sa Ara.pdf', passsword ="") as pdf:
page = pdf.pages[0]
text = page.extract_text()
Error:
File "C:\Users\Documents\plumber.py", line 7, in
import pdfplumber
File "C:\ProgramData\Anaconda3\lib\site-packages\pdfplumber_init_.py", line 16, in
pdfminer.pdftypes.STRICT = False
AttributeError: module 'pdfminer' has no attribute 'pdftypes'
Beta Was this translation helpful? Give feedback.
All reactions