Pyppeteer PDF. Print html sites and files to pdf via pyppeteer (uses patched pyppeteer that by default downloads updated Chromium revision via https with certifi).
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py:485: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\setup.py", line 14, in
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py", line 1473, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py", line 1406, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py", line 412, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I try to install the pyppdf in python 3.12.0 with pip and i have the following issue:
C:\Users\Andreas>pip install pyppdf Collecting pyppdf Using cached pyppdf-0.1.2.tar.gz (26 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py:485: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\setup.py", line 14, in
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py", line 1473, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py", line 1406, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andreas\AppData\Local\Temp\pip-install-_lujpev5\pyppdf_764f9cc6c83e45aaaf6a8e30536ba749\versioneer.py", line 412, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.