-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: can't install on apple silicon Mac KeyError: 'platform macosx-12-arm64 is not supported by robotpy-build! #45
Comments
WPILib does not currently support apple arm, you'll need to use a VM or something else. |
WPILib and by extension robotpy are currently only distributed for x86/64 architectures. arm64 is not supported. Please install the x64 version of python and try again. |
Oh interesting, do you think the x64 python would work on an Apple ARM machine? |
I've heard that x64 WPILib works fine through Rosetta so am assuming Python would too. I don't have an ARM Mac to try for myself. |
I haven't tried it yet, but you'd want to start by doing something like: |
Any luck? |
I already had an x86 version of python installed using the command above.
|
Problem description
Using cached robotpy-wpiutil-2022.3.1.2.tar.gz (12 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
Traceback (most recent call last):
File "/private/var/folders/yb/5tvxb35x78x3xljypp4np1fc0000gn/T/pip-build-env-vddho4fx/overlay/lib/python3.9/site-packages/robotpy_build/platforms.py", line 85, in get_platform
return _platforms[name]
KeyError: 'macosx-12-arm64'
Operating System
MacOS
Installed Python Packages
No response
Reproducible example code
The text was updated successfully, but these errors were encountered: