Installing DeepForest on Intel Mac (macOS x86_64) #1328
bw4sz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a quick workaround for older laptops needing to install source locally.
Installing DeepForest on Intel Mac (macOS x86_64)
PyTorch dropped macOS x86_64 wheel support after version 2.2.2. If you use
uvfor package management and see an error like:Apply these two local-only changes to
pyproject.toml(do not commit them) and re-runuv sync.1. Add a
[tool.uv]sectionThis tells the resolver it must find packages with x86_64 wheels:
2. Pin numpy < 2.0
In the
[project] dependencieslist, change the numpy entry to:"numpy<2.0",3. Re-sync
This will resolve torch to 2.2.2 (the last version with Intel Mac wheels) and a compatible numpy.
These are local-only workarounds for development on Intel Macs. Do not commit these changes.
Beta Was this translation helpful? Give feedback.
All reactions