Open mduaneh opened 2 years ago
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:
arch -x86_64 /usr/local/bin/brew install python
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