PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

Fix macos homebrew python env

Open saosebastiao opened this issue 1 year ago • 0 comments

This is a work in progress, intending to solve a problem with newer python requirements which don't allow user or system level dependencies.

https://github.com/PX4/PX4-Autopilot/issues/23073 Solved Problem

This PR implements a Python Virtual Environment which allows for local installation of all python dependencies.

I chose to use a hidden directory (.venv/) for the virtual environment, as this directory is often just extra noise in filesystem explorer apps. If necessary, we can use the more conventional and unhidden venv/.

If testing out locally, please use the Tools/setup/ubuntu.sh or Tools/setup/macos.sh scripts, as that is what creates the virtual environment.This is a work in progress, intending to solve a problem with newer python requirements which don't allow user or system level dependencies.

saosebastiao avatar Jun 04 '24 23:06 saosebastiao