Last active
March 23, 2018 21:08
-
-
Save chao1224/0377aafbb05b148cbaabfec73e3bea95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export HOME=$PWD | |
wget -q –retry-connrefused –waitretry=10 https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh #here I get the anaconda file from squid | |
chmod 777 * #wget does strange things | |
./Anaconda2-4.3.1-Linux-x86_64.sh -b -p ./anaconda > /dev/null #install anaconda, I also add an argument to the directory name | |
export PATH=$PWD/anaconda/bin:$PATH | |
echo 'Done installing anaconda' | |
chmod 777 * | |
#keras stuff | |
conda install --yes pyyaml > /dev/null | |
conda install --yes HDF5 > /dev/null | |
conda install --yes h5py > /dev/null | |
conda install --yes -c rdonnelly libgpuarray > /dev/null | |
conda install --yes -c rdonnelly pygpu > /dev/null | |
conda install --yes -c conda-forge theano=0.8* > /dev/null | |
conda install --yes -c conda-forge keras=1.2* > /dev/null | |
conda install --yes scikit-learn=0.19* > /dev/null | |
conda install --yes -c rdkit rdkit-postgresql > /dev/null | |
conda install --yes -c r rpy2 > /dev/null | |
conda install --yes -c auto croc > /dev/null | |
echo 'Done installing libraries' | |
chmod 777 -R ./anaconda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment