Copy link to clipboard
Copied
I am trying to install adobe pdf services sdk in python. I am getting following error.
Traceback (most recent call last):
File "extract_txt_from_pdf.py", line 35, in <module>
from adobe.pdfservices.operation.auth.credentials import Credentials
ModuleNotFoundError: No module named 'adobe'
Copy link to clipboard
Copied
Did you install the dependencies?
pip install pdfservices-sdk
Copy link to clipboard
Copied
Thanks Raymond for the response
I installed all depndencies.
after installing I am running the source code
at line ;
from adobe.pdfservices.operation.auth.credentials import Credentials
i get errror ;
Module not found error ; no module named “adobe”
Copy link to clipboard
Copied
I am so sorry I didn't respond. Normally I get a notice of responses, but it's possible I missed it. Unfortunately I'm not sure what to suggest. I'm new to Python, but I did the pip install, and used our code to build a demo. This is my example, which builds on our docs, maybe let me know if this works?
https://github.com/cfjedimaster/document-services-demos/blob/main/extract_examples/test1.py
Copy link to clipboard
Copied
Yes, still the error persists, has anyone found the solution yet?
Copy link to clipboard
Copied
Did you do the pip install?
Copy link to clipboard
Copied
I have also installed all dependencies and am recieving the same error. any thoughts?
Copy link to clipboard
Copied
When you installed, was there any error message? If you try using a virtual environment, does it work better?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Cool, and thank you for sharing. I'm new to Python, and love it so far, but I've definitely seen some issues with package management.
Copy link to clipboard
Copied
How do you do that?
Copy link to clipboard
Copied
Resolved for me using below step:
Problem - "python src/autotagpdf/autotag_pdf.py".
Resolution - (change to correct python): "python3 src/autotagpdf/autotag_pdf.py"
Copy link to clipboard
Copied
Hello,
pdfservices-sdk for Python does not have OCR & OCR Options but .NET version got?
Thanks
Copy link to clipboard
Copied
Correct - right now our Python SDK only supports the Extract operation. You could use the REST API with Python though for those operations.