Install MAVproxy on Raspberry PI 5 - error

Hello! I’m trying to get MAVproxy on a raspberry PI, I was following the documentation but I’m getting an error when doing this command : pip3 install PyYAML mavproxy --user

image

For information, my pip --version is 23.0.1 and i’ve also tried to replace pip3 by only pip, don’t change anything.

Do you guys have any ideas?

You should use a virtual environment. If you don’t know how to do that, you can use pipx:

sudo apt install pipx
pipx install PyYAML mavproxy

Thank you! So I tried doing just that, but it gives me an error. It installed when I did :

sudo apt install pipx

but than with

pipx install PyYAML mavproxy

it gives me this :


(in this screenshot I already installed pipx previously, as you can see)

I tried doing some research, but honestly I’m totally lost. Do you have any ideas?

Just separate the two packages into two different install commands.

Thanks! It worked with mavproxy - pipx install mavproxy

And for PyYAML I ended up doing : sudo apt install python3-yaml