Skip to main content
Participant
Jun 17, 2021 12:29 PM UTC
Question

Adobe pdf services sdk for python

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'

    This topic is closed to new replies. Start a new post to keep the conversation going.

    13 replies

    Participant
    Jan 19, 2022 1:00 AM UTC

    Hello,

     

    pdfservices-sdk for Python does not have OCR & OCR Options but .NET version got?

    Thanks

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Jan 19, 2022 2:17 PM UTC

    Correct - right now our Python SDK only supports the Extract operation. You could use the REST API with Python though for those operations.

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Jun 17, 2021 8:42 PM UTC

    Did you install the dependencies?

     

    pip install pdfservices-sdk

     

    Translate
    Participant
    Jun 18, 2021 1:02 AM UTC

    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”

     

    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Jun 25, 2021 7:30 PM UTC

    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

     

    Translate