mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:58:53 +08:00
Python import error: Recommend pip over apt-get
closes #8297 The package python-toml does not exist in older (<= 14.04) versions of ubuntu.
This commit is contained in:
committed by
Daniel Agar
parent
4f5d70bbe5
commit
9439eaa5fa
@@ -46,11 +46,7 @@ except ImportError as e:
|
|||||||
print('''
|
print('''
|
||||||
Required python packages not installed.
|
Required python packages not installed.
|
||||||
|
|
||||||
On a Debian/Ubuntu system please run:
|
On a GNU/Linux or MacOS system please run:
|
||||||
|
|
||||||
sudo apt-get install python-toml python-numpy
|
|
||||||
|
|
||||||
On MacOS please run:
|
|
||||||
sudo pip install numpy toml
|
sudo pip install numpy toml
|
||||||
|
|
||||||
On Windows please run:
|
On Windows please run:
|
||||||
|
|||||||
Reference in New Issue
Block a user