ImportError running mission_test.py (following tutorial))

Hi
First of all, I’m new to ubuntu, PX4 and ROS, so I hope you can be very clear and bear with me.
I’m trying to follow “PX4 MAVROS python tutorial (Part 2)” on youtube (🚀 PX4 MAVROS Python Tutorial (Part 2) - YouTube), but when I run

python mission_test.py MC_mission_box.plan

I get:

Traceback (most recent call last):
  File "mission_test.py", line 50, in <module>
    from px4tools import ulog
ImportError: No module named px4tools

I have tried with

pip install px4tools

and

pip install --user px4tools

, but nonetheless I get the same message: ImportError: No module named px4tools. Thanks in advance

Hi Hansen,

I assumed that you were using ubuntu 18.04 here. Right now, I am also facing this issue during execution of mission_test.py. Tried pip install px4tools but it did not work. Could you help me out for that, how did u succeed to solve it out? will be waiting your reply.