autopilot icon indicating copy to clipboard operation
autopilot copied to clipboard

Use piwheels

Open sneakers-the-rat opened this issue 1 year ago • 0 comments

I just set up a new pi with autopilot and Raspbian Lite OS, which ships with python 3.11 now and causes some errors with unhelpful diagnostics so figured I'd let people know.

When you get to the pip install -e .[pilot] step, instead of telling you about the python version conflict it does one of two things: If you haven't increased the size of the swapfile it'll just hang forever. If you have increased the swapfile it'll take an hour+, start compiling C and fortran (?!) objects related to sci-py, and finally tell you

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Originally posted by @Rodgers-PAC-Lab in https://github.com/auto-pi-lot/autopilot/discussions/208

We should be getting wheels from piwheels, this may be cause by a historic issue with poetry and how its lockfile works, but there was some movement when last i looked. further information in prior issues/PRs, but i can write more here if i don't address the issue before someone else wants to

sneakers-the-rat avatar Feb 17 '24 06:02 sneakers-the-rat