Skip to content

Commit 748299e

Browse files
committed
Examples: switch from apt to pip install.
1 parent 7f544f1 commit 748299e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/candle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
try:
88
import numpy as np
99
except ImportError:
10-
exit('This script requires the numpy module\nInstall with: sudo apt install python3-numpy')
10+
exit('This script requires the numpy module\nInstall with: python3 -m pip install numpy')
1111

1212
import blinkt
1313

examples/mem_load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
try:
77
import psutil
88
except ImportError:
9-
exit('This script requires the psutil module\nInstall with: sudo apt install python3-psutil')
9+
exit('This script requires the psutil module\nInstall with: python3 -m pip install psutil')
1010

1111
import blinkt
1212

0 commit comments

Comments
 (0)