Unable to find installation candidates for pandas (1.3.0)
at /opt/virtualenvs/python3/lib/python3.8/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
Failed to add packages, reverting the pyproject.toml file to its original content.
exit status 1
Package operation Failed when importing pandas. How to resolve?
Updating dependencies
Resolving dependencies...
Writing lock file
Package operations: 2 installs, 1 update, 0 removals
• Updating numpy (1.20.3 -> 1.21.0)
• Installing pytz (2021.1)
• Installing pandas (1.3.0)
RuntimeError
Unable to find installation candidates for pandas (1.3.0)
at /opt/virtualenvs/python3/lib/python3.8/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
Failed to add packages, reverting the pyproject.toml file to its original content.
exit status 1
Replit: Package operation failed.
worked for me
281
173