-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.txt
56 lines (31 loc) · 1.51 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
## RASPBERRY:
1) increase swap size:
sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=1024 <<< min. 1GB
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
sudo raspi-config <<< and resize filesystem to entire card
----------
2) upgrade pip:
pip install --upgrade pip setuptools wheel
----------
3) install packages:
sudo apt-get install build-essential cmake pkg-config libjpeg-dev libtiff5-dev libjasper-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-serial-dev libhdf5-103 python3-pyqt5 python3-dev -y
-----------
4) create virtual env and install client:
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements-pi.txt
========================================
## PC:
1) upgrade pip:
pip install --upgrade pip setuptools wheel
----------
2) install packages:
sudo apt-get install build-essential cmake pkg-config libjpeg-dev libtiff5-dev libjasper-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-serial-dev libhdf5-103 python3-pyqt5 python3-dev -y
-----------
3) create virtual env and install client:
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt