Installing Virtualenv For Multiple Pymavlink Versions

——-PYMAVLINK VERSION CONFLICT————-

dronekit-sitl==3.3.0

pymavlink==2.0.6

dronekit==2.9.1

MAVProxy==1.8.17 AND dronekit==2.9.2

pymavlink==2.4.10

——-SOLUTION: VIRTUALENV——————-

1. sudo pip install virtualenv

2. virtualenv dksitl –system-site-packages

3. source dksitl/bin/activate

4. pip install dronekit==2.9.1

5. pip install MAVProxy==1.6.2

–MAIN ENV:

MAVProxy==1.8.17

APM==4.0.3

dronekit==2.9.2

pymavlink==2.4.10

–DKSITL ENV:

MAVProxy==1.6.2

APM==3.3

dronekit==2.9.1

pymavlink==2.0.6

————————————————