Skip to content

Commit 60b15a5

Browse files
authored
add rpi install script (#23)
* add rpi install script * update readme
1 parent ae640d0 commit 60b15a5

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ pip3 install setuptools
1919
pip3 install git+https://github.com/lobe/lobe-python --no-cache-dir
2020
```
2121

22-
_Note for Raspbian OS (Raspberry Pi)_: Please install `libjpeg62-turbo` instead of `libjpeg62-dev`
22+
For Raspberry Pi OS (Raspian) run:
23+
```shell script
24+
cd ~
25+
wget https://raw.githubusercontent.com/lobe/lobe-python/master/scripts/lobe-rpi-install.sh
26+
sudo ./lobe-rpi-install.sh
27+
```
2328

2429
### Mac/Windows
2530
Use a virtual environment with Python 3.7

scripts/lobe-rpi-install.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
#
3+
# Install Python3
4+
sudo apt -y update
5+
sudo apt install -y \
6+
python3-dev \
7+
python3-pip \
8+
libatlas-base-dev \
9+
libopenjp2-7 \
10+
libtiff5 \
11+
libjpeg62-turbo
12+
sudo apt-get install -y git
13+
# Install lobe-python
14+
sudo pip3 install setuptools
15+
sudo pip3 install git+https://github.com/lobe/lobe-python --no-cache-dir

0 commit comments

Comments
 (0)