-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup_spark_vandy.sh
executable file
·41 lines (31 loc) · 1.22 KB
/
setup_spark_vandy.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
40
41
!/usr/bin/env bash
python3.6 -m virtualenv py36
source py36/bin/activate
pip install --upgrade pip
pip install llvmlite numba numpy pandas ipykernel matplotlib lz4 pyarrow tqdm py4j
ipython kernel install --user --name "py36" --display-name "py36"
pip install uproot
pip install --upgrade uproot-methods
# 1.14 is kindof old but pinned by other packages it seems
pip install --upgrade numpy scipy
# get dependencies for it
pip install fnal-column-analysis-tools
# get latest and greatest
git clone -b processor [email protected]:CoffeaTeam/fnal-column-analysis-tools.git
pushd fnal-column-analysis-tools
pip uninstall fnal-column-analysis-tools
python setup.py install
popd
# progressbar, sliders, etc.
jupyter nbextension enable --py widgetsnbextension
# issue with python3 bindings, see https://sft.its.cern.ch/jira/browse/SPI-1198
wget https://github.com/xrootd/xrootd/archive/v4.8.4.tar.gz
tar zxf v4.8.4.tar.gz && rm -f v4.8.4.tar.gz
cp xrd_setup.py xrootd-4.8.4/bindings/python/
pushd xrootd-4.8.4/bindings/python/
python xrd_setup.py install --user
popd
rm -rf xrootd-4.8.4
ipython kernel install --user --name "py36" --display-name "py36"
deactivate
echo "environment \"py36\" installed, to start it do \"source `pwd`/bin/py36/activate\""