Copy link to clipboard
Copied
en-US
Hello Adobe community and support,
I am encountering an issue while trying to set up the environment to use the pdfservices-python-sdk-samples, available at: https://github.com/adobe/pdfservices-python-sdk-samples. I followed the provided instructions for creating a virtual environment and installing the dependencies specified in the requirements.txt file (which contains only pdfservices-sdk==2.3.0), but I've hit a roadblock that I've been unable to overcome.
After installing the Microsoft Visual C++ Build Tools, as suggested by previous errors, I faced a new problem installing the pdfservices-sdk dependency. The process specifically fails at the step of collecting the PyYAML==6.0 dependency, with the following error:
Collecting PyYAML==6.0 (from pdfservices-sdk==2.3.0->-r requirements.txt (line 1))
Using cached PyYAML-6.0.tar.gz (124 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
I attempted to separately install the PyYAML==6.0 dependency, which resulted in the same error. Interestingly, when installing the version PyYAML==6.0.1, the installation goes through without issues. However, upon returning to the installation of pdfservices-sdk==2.3.0, the problem persists, preventing the completion of the installation. This results in a ModuleNotFoundError when trying to run the samples provided in the repository:
Traceback (most recent call last):
File "c:\Users\ligiabicalho\Documents\pdfservices-python-sdk-samples\src\extractpdf\extract_txt_from_pdf.py", line 14, in <module>
from adobe.pdfservices.operation.auth.credentials import Credentials
ModuleNotFoundError: No module named 'adobe'
This suggests that the adobe module is not installed correctly due to the mentioned dependency issues.
What has been tried:
I am seeking guidance on possible solutions or additional steps that might be attempted to resolve these installation issues. Any help or suggestions from the community or Adobe support would be greatly appreciated.
Thank you in advance for the assistance.
Copy link to clipboard
Copied
Ah! Iām using anaconda3 (conda 23.7.4), Python 3.12.1, pip 24.0, and Windows 10.