Hey everyone, new px4 user here. I’m running an up to date version of macOS Catalina on a relatively new Macbook Pro 16", and following the instructions for installing the px4 toolchain here.
I’m getting a build error that others have reported from time to time, but I can’t seem to find the actual solution. Here are the important bits. If you need more context, I’ll add it.
% make px4_sitl jmavsim
…
Failed to import toml: No module named ‘toml’You may need to install it using:
pip3 install --user tomlFailed to import em: No module named ‘em’
You may need to install it using:
pip3 install --user empyFailed to import jinja2: No module named ‘jinja2’
You may need to install it using:
pip3 install --user jinja2[13/734] Generating git version header
ninja: build stopped: subcommand failed.
make: *** [px4_sitl] Error 1
Trying the pip3 install commands shows they are in fact installed already:
% pip3 install --user toml
Requirement already satisfied: toml in /Users/aaa/Library/Python/3.7/lib/python/site-packages (0.10.1)
You are using pip version 19.0.3, however version 20.2b1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Any ideas?