can't install kaleido with pipenv
dustinfarris opened this issue · comments
on macOS Big Sure using python 3.7.9 installed via pyenv
pipenv install kaleido
in a fresh pyenv virtual env, pipenv install kaleido
fails with
Adding kaleido to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!
CRITICAL:pipenv.patched.notpip._internal.index.package_finder:Could not find a version that satisfies the requirement kaleido
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: No matching distribution found for kaleido==0.2.1 (from -r /var/folders/mh/9y6sr2810hl7hbb2wzqrwn080000gq/T/pipenvjly532rtrequirements/pipenv-m3_gm595-constraints.txt (line 3)
this only seems to be an issue when locking
pipenv install kaleido --skip-lock
works fine.
This is due to Big Sur reporting its version differently, causing pipenv to not find a matching wheel. Latest pip
seems to have been updated for this, but latest pipenv
has not.
export SYSTEM_VERSION_COMPAT=1
instructs macos to report the version in the previous format and then pipenv
works.