-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathreqs.sh
37 lines (30 loc) · 947 Bytes
/
reqs.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
#!/bin/bash
# If on centos/7, we will need the following
sudo yum groupinstall -y "Development Tools"
sudo yum install -y python python-devel
sudo yum install -y epel-release
sudo yum install -y python-pip
sudo pip install --upgrade pip
sudo yum install -y wget
# If planning to use virtual environment
pip install --upgrade --user virtualenv
virtualenv . -p /usr/bin/python2.7
# get FFHT repo
wget https://github.com/FALCONN-LIB/FFHT/archive/master.zip
unzip master.zip
# get necessary tools
pip install --upgrade numpy --user
pip install --upgrade scipy --user
pip install --upgrade pandas --user
pip install --upgrade matplotlib --user
pip install --upgrade scikit-learn --user
pip install --upgrade tqdm --user
pip install --upgrade h5py --user
# install FFHT
cd FFHT-master
pip install . --user
# python setup.py install --user
# git clone [email protected]:FALCONN-LIB/FFHT.git
# cd FFHT
# pip install . --user
# python setup.py install