openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

ubuntu_setup.sh failure installing casadi (Ubuntu 24.04 and ARM M2 CPU)

Open leomonde opened this issue 1 year ago • 5 comments

Describe the bug

Installing casadi (3.6.5) Failed ChefBuildError Backend subprocess exited when trying to invoke build_wheel

OS Version

Ubuntu 24.04 LTS

openpilot version or commit

No response

Additional info

No response

leomonde avatar Jun 21 '24 16:06 leomonde

Ubuntu 24.04 running in VM environment (Parallel)

leomonde avatar Jun 21 '24 16:06 leomonde

We dropped support for arm macOS during the transition to python3.12/ubuntu24.04 and one of the reasons was casadi having problems building. An issue (https://github.com/commaai/openpilot/issues/32791) is open to bring it back.

maxime-desroches avatar Jun 21 '24 17:06 maxime-desroches

We dropped support for arm macOS during the transition to python3.12/ubuntu24.04 and one of the reasons was casadi having problems building. An issue (https://github.com/commaai/openpilot/issues/32791) is open to bring it back.

I am not using MacOS. I am using Ubuntu 24.04! Maybe the issue isn't OSX but it is the ARM CPU.

leomonde avatar Jun 21 '24 17:06 leomonde

is there any resolution found for casadi issue ?

ghost avatar Jun 24 '24 04:06 ghost

is there any resolution found for casadi issue ?

I don't know. I tried to go back to commit cb63f10 (git reset), to use an old OP version in Ubuntu 22 but it didn't work. Strange... as it used to work months ago.

leomonde avatar Jun 24 '24 18:06 leomonde

New casadi release is out which should fix this.

adeebshihadeh avatar Aug 09 '24 00:08 adeebshihadeh