Controlling MAVLink Drones with MAVSDK

Hi, I follow this video in Youtube (Auterion Academy | Controlling MAVLink Drones with MAVSDK - YouTube). But always encounter error or problems. Does anybodys can tell me how to use MAVDSK to control pixhawk or simulation in JmavSim or other simulator. My laptop is Macbook pro M1 pro version. Please to help. Thanks.