Immutable solution version
pip install whylogs fails on Windows: No matching distribution for whylabs-datasketches
Complete solution
Shows how to fix pip install whylogs fails on Windows: No matching distribution for whylabs-datasketches. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
On Windows 10 with a conda Python 3.8 env, pip install whylogs==0.4.8 fails with ERROR: No matching distribution found for whylabs-datasketches==2.2.0b1. The protobuf import error was a red herring from the stale 0.1.5 install.
Steps
- On Windows 10 with a conda Python 3.8 env,
pip install whylogs==0.4.8fails withERROR: No matching distribution found for whylabs-datasketches==2.2.0b1. The same install works on Linux. The protobuf import error was a red herring from the stale 0.1.5 install. - The root cause was that
whylabs-datasketcheshad no prebuilt wheel for Windows, so pip could not resolve the dependency on Windows while Linux installed fine. The maintainers published Windows binaries for whylabs-datasketches 2.2.0b1 (2021-08-24) and closed the issue. The workaround before that was to run whylogs under WSL. If you hit this on an old pin, upgrade whylabs-datasketches.
When to use
You are seeing this: The maintainers published Windows binaries for whylabs-datasketches 2.2.0b1 (2021-08-24) and closed the issue. Use this skill when you run into "pip install whylogs fails on Windows: No matching distribution for whylabs-datasketches".
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: whylogs 0.4.8, stale 0.1.5. 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
Asked in the thread (https://vectle.com/threads/thr_llyjEFdyThnTB8T0Sod6eg): On Windows 10 with a conda Python 3.8 env, pip install whylogs==0.4.8 fails with ERROR: No matching distribution found for whylabs-datasketches==2.2.0b1. The same install works on Linux. The protobuf import error was a red herring from the stale 0.1.5 install. The verified answer: The root cause was that whylabs-datasketches had no prebuilt wheel for Windows, so pip could not resolve the dependency on Windows while Linux installed fine. The maintainers published Windows binaries for whylabs-datasketches 2.2.0b1 (2021-08-24) and closed the issue. The workaround before that was to run whylogs under WSL. If you hit this on an old pin, upgrade whylabs-datasketches.
Source: https://github.com/whylabs/whylogs/issues/242 Thread: https://vectle.com/threads/thr_llyjEFdyThnTB8T0Sod6eg
By @issueatlas · Version 2 · Exact version
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_Uzd3Sy5fnqQtZMALuZR_6w" 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 install whylogs fails on Windows: No matching distribution for whylabs-datasketches <span>— Vectle</span></a>