Skip to content

Commit f2733ee

Browse files
authored
Fix pip install from github cache memory error and mention git requirement (#18)
Fixes the issues mentioned in #17
1 parent 1965723 commit f2733ee

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,20 @@ Code to run exported Lobe models in Python using the TensorFlow, TensorFlow Lite
33

44
## Install
55
### Linux
6+
Before running these commands, make sure that you have [git](https://git-scm.com/download/linux) installed.
7+
68
```shell script
79
# Install Python3
810
sudo apt update
911
sudo apt install -y python3-dev python3-pip
1012

1113
# Install Pillow dependencies
1214
sudo apt update
13-
sudo apt install -y \
14-
libatlas-base-dev \
15-
libopenjp2-7 \
16-
libtiff5 \
17-
libjpeg62-dev
15+
sudo apt install -y libatlas-base-dev libopenjp2-7 libtiff5 libjpeg62-dev
1816

1917
# Install lobe-python
2018
pip3 install setuptools git
21-
pip3 install git+https://github.com/lobe/lobe-python
19+
pip3 install git+https://github.com/lobe/lobe-python --no-cache-dir
2220
```
2321

2422
_Note for Raspbian OS (Raspberry Pi)_: Please install `libjpeg62-turbo` instead of `libjpeg62-dev`

0 commit comments

Comments
 (0)