Hi there,
I have been issues with installation of pdfservices-sdk and pdfservices-extract-sdk.
Since there were lots of other things that were installed, and doubted the conflict, I created a fresh windows user, installed a brand new local python (3.12.4) and retried.
It failed again and with exact same problem. Please help.
Here is my requirements.txt with these two lines.
pdfservices-sdk
pdfservices-extract-sdk
Here is the full command log/output:-
===================================================================
pip install -r requirements.txt
Collecting pdfservices-sdk (from -r requirements.txt (line 5))
Downloading pdfservices_sdk-4.0.0-py3-none-any.whl.metadata (2.8 kB)
Collecting pdfservices-extract-sdk (from -r requirements.txt (line 6))
Downloading pdfservices_extract_sdk-1.0.0b1-py3-none-any.whl.metadata (2.3 kB)
Collecting requests~=2.31.0 (from pdfservices-sdk->-r requirements.txt (line 5))
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting setuptools~=69.5.1 (from pdfservices-sdk->-r requirements.txt (line 5))
Downloading setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting sphinx~=7.3.7 (from pdfservices-sdk->-r requirements.txt (line 5))
Downloading sphinx-7.3.7-py3-none-any.whl.metadata (6.0 kB)
Collecting sphinx-rtd-theme~=2.0.0 (from pdfservices-sdk->-r requirements.txt (line 5))
Downloading sphinx_rtd_theme-2.0.0-py2.py3-none-any.whl.metadata (4.4 kB)
Collecting build==0.3.0 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading build-0.3.0-py2.py3-none-any.whl.metadata (3.4 kB)
Collecting certifi==2020.12.5 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading certifi-2020.12.5-py2.py3-none-any.whl.metadata (3.0 kB)
Collecting cffi==1.14.5 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading cffi-1.14.5.tar.gz (475 kB)
???????????????????????????????????????? 475.1/475.1 kB 4.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting cryptography==3.4.6 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading cryptography-3.4.6-cp36-abi3-win_amd64.whl.metadata (5.1 kB)
Collecting definitions==0.2.0 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading definitions-0.2.0.tar.gz (6.4 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting multipart==0.2.4 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading multipart-0.2.4-py3-none-any.whl.metadata (1.1 kB)
Collecting packaging==20.9 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading packaging-20.9-py2.py3-none-any.whl.metadata (13 kB)
Collecting pep517==0.9.1 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading pep517-0.9.1-py2.py3-none-any.whl.metadata (3.6 kB)
Collecting polling==0.3.1 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading polling-0.3.1-py3-none-any.whl.metadata (267 bytes)
Collecting polling2==0.4.6 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading polling2-0.4.6-py2.py3-none-any.whl.metadata (2.7 kB)
Collecting pycparser==2.20 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading pycparser-2.20-py2.py3-none-any.whl.metadata (907 bytes)
Collecting Pygments==2.8.0 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading Pygments-2.8.0-py3-none-any.whl.metadata (1.9 kB)
Collecting PyJWT==2.0.1 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading PyJWT-2.0.1-py3-none-any.whl.metadata (4.0 kB)
Collecting pyparsing==2.4.7 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading pyparsing-2.4.7-py2.py3-none-any.whl.metadata (3.6 kB)
Collecting PyYAML==5.4.1 (from pdfservices-extract-sdk->-r requirements.txt (line 6))
Downloading PyYAML-5.4.1.tar.gz (175 kB)
???????????????????????????????????????? 175.1/175.1 kB 5.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
x Getting requirements to build wheel did not run successfully.
³ exit code: 1
?Ä> [54 lines of output]
running egg_info
writing lib3\PyYAML.egg-info\PKG-INFO
writing dependency_links to lib3\PyYAML.egg-info\dependency_links.txt
writing top-level names to lib3\PyYAML.egg-info\top_level.txt
Traceback (most recent call last):
File "C:\Users\mz\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\mz\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mz\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 271, in <module>
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
dist.run_commands()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\dist.py", line 968, in run_command
super().run_command(command)
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 321, in run
self.find_sources()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 329, in find_sources
mm.run()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 550, in run
self.add_defaults()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 588, in add_defaults
sdist.add_defaults(self)
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\command\sdist.py", line 102, in add_defaults
super().add_defaults()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 250, in add_defaults
self._add_defaults_ext()
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 335, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 201, in get_source_files
File "C:\Users\mz\AppData\Local\Temp\pip-build-env-bo64o2v9\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 107, in __getattr__
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
x Getting requirements to build wheel did not run successfully.
³ exit code: 1
?Ä> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
==================================================================
Views
Replies
Total Likes
Please note that there are *NO* other packages installed. Just python itself from python.org and then pip install -r requirements.txt with above two packages.
Views
Replies
Total Likes
Views
Likes
Replies