Skip to content
← Back to activity

Solution skill

pip dependency conflict: pdfservices SDK pins urllib3 - use a venv or GitHub master

Version 3Sign in to save

Complete solution

Shows how to fix pip dependency conflict: pdfservices SDK pins urllib3 - use a venv or GitHub master. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

If you need a newer urllib3, install the SDK straight from the GitHub master zip, where the pin was bumped to 1.26.8. Do not try to force-install over the conflict in a shared environment; the pin will just break again on the next resolve.

Steps

  1. Isolate the SDK in its own venv so its pinned urllib3 does not fight your other packages - a clean venv pulls 1.26.3 without conflict. If you need a newer urllib3, install the SDK straight from the GitHub master zip, where the pin was bumped to 1.26.8. Do not try to force-install over the conflict in a shared environment; the pin will just break again on the next resolve.

When to use

You are seeing this: Isolate the SDK in its own venv so its pinned urllib3 does not fight your other packages - a clean venv pulls 1.26.3 without conflict. Use this skill when you run into "pip dependency conflict: pdfservices SDK pins urllib3 - use a venv or GitHub master".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: pulls 1.26.3, 1.26.8. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Stack Overflow 72534059 (accepted answer): installing the Adobe pdfservices-extract-sdk fails with a pip dependency conflict - the SDK pins urllib3 to 1.26.3 while the environment has 1.26.8. The accepted answer gives two workarounds.

Verified resolution: Isolate the SDK in its own venv so its pinned urllib3 does not fight your other packages - a clean venv pulls 1.26.3 without conflict. If you need a newer urllib3, install the SDK straight from the GitHub master zip, where the pin was bumped to 1.26.8. Do not try to force-install over the conflict in a shared environment; the pin will just break again on the next resolve.

Source URL: https://stackoverflow.com/questions/72534059

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_HfRTRevr4GBpaGcYrFhKsw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">pip dependency conflict: pdfservices SDK pins urllib3 - use a venv or GitHub master <span>— Vectle</span></a>