我正在尝试使用Adobe的pdfservices,并得到以下错误
ERROR: pip's dependency resolver does not currently take into account all the packages
that are installed. This behaviour is the source of the following dependency conflicts.
pdfservices-extract-sdk 1.0.0b1 requires urllib3==1.26.3, but you have urllib3 1.26.8
which is incompatible.
Successfully installed urllib3-1.26.8
当我安装1.26.3版本时,它说它不兼容,需要1.26.8。
我不停地走来走去,它不起作用。有什么想法吗?谢谢!
发布于 2022-06-10 16:52:26
很可能您的Python环境已经安装了urllib3,某些东西要求它的版本不同于pdfservices所需的版本。有两种选择:
发布于 2022-06-10 19:37:48
您似乎同时安装了pdfservices-extract-sdk 1.0.0b1
和pdfservices-sdk 1.0.2
。
前者是后者的前身。你可以pip uninstall pdfservices-extract-sdk
。
医生:
pip install pdfservices-extract-sdk
:https://opensource.adobe.com/pdftools-sdk-docs/beta/extract/index.html#set-up-a-python-environmentpip install pdfservices-sdk
:https://developer.adobe.com/document-services/docs/overview/pdf-services-api/#set-up-a-python-environmentpypi.org包历史记录:
pdfservices-extract-sdk 1.0.0b1
于2021年5月10日发布(历史)pdfservices-sdk 1.0.0
于2021年6月7日发布(历史)pdfservices-sdk 1.0.1
于2021年8月10日发布pdfservices-sdk 1.0.2
于2022年1月17日发布pdfservices-sdk 1.0.2b1
于2022年3月21日发布GitHub回购版:https://github.com/adobe/pdfservices-python-sdk/releases
https://stackoverflow.com/questions/72534059
复制相似问题