Skip to content

Instantly share code, notes, and snippets.

@rjurney
Last active September 3, 2022 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjurney/9aa3bee5529588452f5f0c02bb5c5c25 to your computer and use it in GitHub Desktop.
Save rjurney/9aa3bee5529588452f5f0c02bb5c5c25 to your computer and use it in GitHub Desktop.
Can't install Modin with Ray with poetry on Python 3.10 on OS X
poetry add "modin[ray]"
Using version ^0.15.2 for modin
Updating dependencies
Resolving dependencies... (60.3s)
Writing lock file
Package operations: 31 installs, 0 updates, 0 removals
• Installing pyasn1 (0.4.8)
• Installing cachetools (5.2.0)
• Installing frozenlist (1.3.1)
• Installing multidict (6.0.2)
• Installing protobuf (3.20.1)
• Installing pyasn1-modules (0.2.8)
• Installing rsa (4.9)
• Installing aiosignal (1.2.0)
• Installing async-timeout (4.0.2)
• Installing google-auth (2.11.0)
• Installing googleapis-common-protos (1.56.4)
• Installing yarl (1.8.1)
• Installing aiohttp (3.8.1)
• Installing blessed (1.19.1)
• Installing google-api-core (2.10.0)
• Installing nvidia-ml-py (11.495.46)
• Installing opencensus-context (0.1.3)
• Installing pyrsistent (0.18.1)
• Installing aiohttp-cors (0.7.0)
• Installing colorful (0.5.4)
• Installing gpustat (1.0.0rc1)
• Installing grpcio (1.43.0)
• Installing jsonschema (4.15.0)
• Installing opencensus (0.11.0)
• Installing prometheus-client (0.13.1)
• Installing py-spy (0.3.12)
• Installing smart-open (6.1.0)
• Installing fsspec (2022.8.2)
• Installing ray (1.12.1): Failed
RuntimeError
Unable to find installation candidates for ray (1.12.1)
at ~/Library/Application Support/pypoetry/venv/lib/python3.9/site-packages/poetry/installation/chooser.py:103 in choose_for
99│
100│ links.append(link)
101│
102│ if not links:
→ 103│ raise RuntimeError(f"Unable to find installation candidates for {package}")
104│
105│ # Get the best link
106│ chosen = max(links, key=lambda link: self._sort_key(package, link))
107│
• Installing redis (3.5.3)
poetry add "modin[ray]"
Using version ^0.15.2 for modin
Updating dependencies
Resolving dependencies... (3.7s)
Because no versions of ray match >1.4.0,<1.4.1 || >1.4.1,<1.5.0 || >1.5.0,<1.5.1 || >1.5.1,<1.5.2 || >1.5.2,<1.6.0 || >1.6.0,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<1.9.0 || >1.9.0,<1.9.1 || >1.9.1,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0
and ray (1.4.0) depends on ray (1.4.0), ray (>=1.4.0,<1.4.1 || >1.4.1,<1.5.0 || >1.5.0,<1.5.1 || >1.5.1,<1.5.2 || >1.5.2,<1.6.0 || >1.6.0,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<1.9.0 || >1.9.0,<1.9.1 || >1.9.1,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0).
And because ray (1.4.1) depends on ray (1.4.1), ray (>=1.4.0,<1.5.0 || >1.5.0,<1.5.1 || >1.5.1,<1.5.2 || >1.5.2,<1.6.0 || >1.6.0,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<1.9.0 || >1.9.0,<1.9.1 || >1.9.1,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1).
And because ray (1.5.0) depends on ray (1.5.0)
and ray (1.5.1) depends on ray (1.5.1), ray (>=1.4.0,<1.5.2 || >1.5.2,<1.6.0 || >1.6.0,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<1.9.0 || >1.9.0,<1.9.1 || >1.9.1,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1).
And because ray (1.5.2) depends on ray (1.5.2)
and ray (1.6.0) depends on ray (1.6.0), ray (>=1.4.0,<1.7.0 || >1.7.0,<1.8.0 || >1.8.0,<1.9.0 || >1.9.0,<1.9.1 || >1.9.1,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0).
And because ray (1.7.0) depends on ray (1.7.0)
and ray (1.8.0) depends on ray (1.8.0), ray (>=1.4.0,<1.9.0 || >1.9.0,<1.9.1 || >1.9.1,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0 || 1.7.0 || 1.8.0).
And because ray (1.9.0) depends on ray (1.9.0)
and ray (1.9.1) depends on ray (1.9.1), ray (>=1.4.0,<1.9.2 || >1.9.2,<1.10.0 || >1.10.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0 || 1.7.0 || 1.8.0 || 1.9.0 || 1.9.1).
And because ray (1.9.2) depends on ray (1.9.2)
and ray (1.10.0) depends on ray (1.10.0), ray (>=1.4.0,<1.11.0 || >1.11.0,<1.11.1 || >1.11.1,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0 || 1.7.0 || 1.8.0 || 1.9.0 || 1.9.1 || 1.9.2 || 1.10.0).
And because ray (1.11.0) depends on ray (1.11.0)
and ray (1.11.1) depends on ray (1.11.1), ray (>=1.4.0,<1.12.0 || >1.12.0,<1.12.1 || >1.12.1,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0 || 1.7.0 || 1.8.0 || 1.9.0 || 1.9.1 || 1.9.2 || 1.10.0 || 1.11.0 || 1.11.1).
And because ray (1.12.0) depends on ray (1.12.0)
and ray (1.12.1) depends on ray (1.12.1), ray (>=1.4.0,<1.13.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0 || 1.7.0 || 1.8.0 || 1.9.0 || 1.9.1 || 1.9.2 || 1.10.0 || 1.11.0 || 1.11.1 || 1.12.0 || 1.12.1).
Because no versions of modin match >0.15.2,<0.16.0
and modin (0.15.2) depends on ray (>=1.4.0,<1.13.0), modin (>=0.15.2,<0.16.0) requires ray (>=1.4.0,<1.13.0).
Thus, modin (>=0.15.2,<0.16.0) requires ray (1.4.0 || 1.4.1 || 1.5.0 || 1.5.1 || 1.5.2 || 1.6.0 || 1.7.0 || 1.8.0 || 1.9.0 || 1.9.1 || 1.9.2 || 1.10.0 || 1.11.0 || 1.11.1 || 1.12.0 || 1.12.1).
So, because graphlet depends on both ray (^2.0.0) and modin (^0.15.2), version solving failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment