Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adobe pdf services sdk for python

New Here ,
Jun 17, 2021 Jun 17, 2021

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'

7.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 17, 2021 Jun 17, 2021

Did you install the dependencies?

 

pip install pdfservices-sdk

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2021 Jun 17, 2021

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 25, 2021 Jun 25, 2021

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 25, 2021 Aug 25, 2021

Yes, still the error persists, has anyone found the solution yet?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 25, 2021 Aug 25, 2021

Did you do the pip install?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 18, 2022 Jul 18, 2022

I have also installed all dependencies and am recieving the same error. any thoughts?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 19, 2022 Jul 19, 2022

When you installed, was there any error message? If you try using a virtual environment, does it work better?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 21, 2022 Jul 21, 2022
I figured out the issue, It was installing the module into the wrong
version of Python.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 21, 2022 Jul 21, 2022

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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 19, 2023 Feb 19, 2023

How do you do that?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 20, 2023 Dec 20, 2023
LATEST

Resolved for me using below step:

 

Problem -  "python src/autotagpdf/autotag_pdf.py".

Resolution -  (change to correct python):  "python3 src/autotagpdf/autotag_pdf.py"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 18, 2022 Jan 18, 2022

Hello,

 

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

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 19, 2022 Jan 19, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources