[SOLVED] Connect QGroundControl to my drone wireless

Hi all!

It worked as expected, I setup de wifi and now I’m able to connect to my raspberrypi thru ssh!

Now, I’m trying to setup the environment in the raspberry, with some versions errors, I am following this post: https://dojofordrones.com/raspberry-pi-pixhawk-setup-steps/

I could follow succesfuly the steps:

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install python3-pip python3-dev python3-opencv python3-numpy
  • sudo apt-get install libxml2-dev libxslt-dev
  • sudo pip install future (I had to replace it by sudo apt install python3-future…)
  • sudo apt-get install git screen

But the next step:

  • sudo pip install pyserial dronekit MAVProxy imutils:

matias@raspberrypi:~ $ sudo pip install pyserial dronekit MAVProxy imutils
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
   python3-xyz, where xyz is the package you are trying to
   install.
    
   If you wish to install a non-Debian-packaged Python package,
   create a virtual environment using python3 -m venv path/to/venv.
   Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
   sure you have python3-full installed.
    
   For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, b
y passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
matias@raspberrypi:~ $

I think it is something about python version… but don’t have too much experience on this… is there a newer post?