Closed jpetot closed 2 months ago
I have the same issue on Intel based Mac. Solution with pip helped me
Same issue here. By running pip install kaleido
like suggested in previous comments, I noticed that pip is installing version 0.2.1
, which is different from 0.2.1.post1
that poetry tries to install. I then tried forcing poetry to use the same version as pip,
poetry add "kaleido@0.2.1"
which seems to work.
I don't know exactly what's going on here, but for me this is a useful workaround, at least.
On M1 using conda installation fails due to mathjax 2.7.* not being available on osx-arm64 ( https://github.com/conda-forge/mathjax-feedstock/issues/16 )
I'm having the same issue using poetry on Manjaro. Poetry goes for 0.2.1.post1 if not forced and fails. Adding the 0.2.1v, as pointed by josteinbf, did worked too.
I'm also experiencing this issue using poetry. My project depends on a project that depends on kaleido>=0.2.1
. After running poetry lock --no-update
, my poetry.lock
file has kaleido pinned to version 0.2.1.post1
. Then installation fails because a version 0.2.1.post1
cannot be found in PyPI.
install a previous version:
poetry add kaleido==0.2.1
Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson
Installation of kaleido isn't working using poetry, but working with pip.
Updating dependencies Resolving dependencies... (0.1s)
Writing lock file
Package operations: 1 install, 0 updates, 0 removals
• Installing kaleido (0.2.1.post1): Failed
RuntimeError
Unable to find installation candidates for kaleido (0.2.1.post1)
at ~/.poetry/lib/poetry/installation/chooser.py:72 in choose_for 68│ 69│ links.append(link) 70│ 71│ if not links: → 72│ raise RuntimeError( 73│ "Unable to find installation candidates for {}".format(package) 74│ ) 75│ 76│ # Get the best link
Collecting kaleido Using cached kaleido-0.2.1-py2.py3-none-macosx_11_0_arm64.whl (85.8 MB) Installing collected packages: kaleido Successfully installed kaleido-0.2.1 Failed to add packages, reverting the pyproject.toml file to its original content.