You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding the pandas from "poetry init", version 1.3.0 is defined in pyproject.toml, but
version 1.3.0 is not available in https://pypi.org/simple/pandas/ :
poetry install -vvv I
Using virtualenv: /Users/alp/Library/Caches/pypoetry/virtualenvs/test-pandasgui-srrdTSBf-py3.9
Installing dependencies from lock file
Finding the necessary packages for the current system
Package operations: 1 install, 0 updates, 0 removals, 4 skipped
• Installing six (1.16.0): Pending...
• Installing six (1.16.0): Skipped for the following reason: Already installed
• Installing numpy (1.21.0): Pending...
• Installing numpy (1.21.0): Skipped for the following reason: Already installed
• Installing python-dateutil (2.8.1): Pending...
• Installing python-dateutil (2.8.1): Skipped for the following reason: Already installed
• Installing pytz (2021.1): Pending...
• Installing pytz (2021.1): Skipped for the following reason: Already installed
• Installing pandas (1.3.0): Pending...
• Installing pandas (1.3.0): Failed
RuntimeError
Unable to find installation candidates for pandas (1.3.0)
at /usr/local/Cellar/poetry/1.1.7/libexec/lib/python3.9/site-packages/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
Workaround :
Forcing version of pandas to 1.3.0rc1 works poetry add pandas@1.3.0rc1
The text was updated successfully, but these errors were encountered:
at the time you've opened this ticket, there were neither a wheel for your target platform nor a sdist file, but other platforms were available. This is why poetry takes this version as the latest available into account.
In the meantime it looks like there are more wheels and also a sdist file available and your issue should be solved.
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: macOS Big Sur Version 11.4
Poetry version: 1.1.7
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/al1p/3c4bc90273427c8bc61332e4484ca8a7
Issue
Install pandas fails.
When adding the pandas from "poetry init", version 1.3.0 is defined in pyproject.toml, but
version 1.3.0 is not available in https://pypi.org/simple/pandas/ :
Workaround :
poetry add pandas@1.3.0rc1
The text was updated successfully, but these errors were encountered: