forked from luigifreda/pyslam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_pip3_packages.sh
executable file
·39 lines (26 loc) · 1.12 KB
/
install_pip3_packages.sh
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
#!/usr/bin/env bash
# ====================================================
# import the bash utils
. bash_utils.sh
# ====================================================
#set -e
print_blue '================================================'
print_blue "Configuring and installing python packages ..."
# N.B.: python3 is required!
pip3 install --upgrade pip
# pip3 packages
install_pip_packages pygame numpy matplotlib pyopengl Pillow pybind11
install_pip_package numpy>=1.18.3
install_pip_package scipy==1.4.1
install_pip_package scikit-image==0.16.2
install_pip_packages pyyaml termcolor tqdm yacs
install_pip_package opencv-python
#pip3 uninstall opencv-contrib-python # better to clean it before installing the right version
install_pip_package opencv-contrib-python #==3.4.2.16
install_pip_package torch
install_pip_package torchvision
install_pip_package ordered-set # from https://pypi.org/project/ordered-set/
install_pip_package tensorflow-gpu==1.14.0 # 1.14.0 works with all the modules contained in pyslam2
# it may be required if you have errors with pillow
#pip3 uninstall pillow
#pip3 install pillow==6.2.2