Poetry - Unable to find installation candidates for watchdog (2.3.0)
pedrorjbr opened this issue · comments
• Installing watchdog (2.3.0)
RuntimeError
Unable to find installation candidates for watchdog (2.3.0)
at /opt/hostedtoolcache/Python/3.10.10/x[64](https://github.com/carecode-health/nabla-integration/actions/runs/4263771539/jobs/7420937565#step:6:65)/lib/python3.10/site-packages/poetry/installation/chooser.py:105 in choose_for
101│
102│ links.append(link)
103│
104│ if not links:
→ 105│ raise RuntimeError(f"Unable to find installation candidates for {package}")
106│
107│ # Get the best link
108│ chosen = max(links, key=lambda link: self._sort_key(package, link))
Is anyone facing the same issue?
Well, all files are present here: https://pypi.org/project/watchdog/2.3.0/#files
I had such issues sometimes, like a cache not yet updated 🤔
Let's see if others hit the same issue. Please try again in a few hours 🤞
It's working with pip install, but I am still getting this message using poetry.
I don't think there is an issue on the watchdog end. Maybe should you see with Poetry directly?
Is it solved with the watchdog 2.3.1?
@pedrorjbr I use Windows and Powershell and might be able to reproduce.
Could you provide the output from these commands:
Get-Command python
python --version
Get-Command poetry
poetry --version
I'd also like to confirm what happens if you wipe your pip cache. Would you try this and paste the entire output in?
pip uninstall watchdog
# Run `pip uninstall watchdog` repeatedly until no older versions are found
pip uninstall watchdog
pip cache info
pip cache purge
pip cache info
pip install watchdog