diff --git a/conda/create_new_env.sh b/conda/create_new_env.sh old mode 100644 new mode 100755 index 144b90206402659acb500115e25306ab5ef8145b..669f97b3d8d6bd1e72dbdd507779b95a9b4f7884 --- a/conda/create_new_env.sh +++ b/conda/create_new_env.sh @@ -4,13 +4,27 @@ set -xe # usage create_new_env.sh (-n env_name|-p env_folder) pyver [bobver] # This is intented to be used only with our conda installation at idiap/group/torch5spro # example create_new_env.sh -n bob-2.3.4-py27_0 2.7 -# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =2.3.4 -# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =2.3.4=py27_0 +# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 +# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 =2.3.4 +# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 =2.3.4=py27_0 # example create_new_env.sh -p /path/to/bob-2.2.0-py27_0 2.7 -conda create --yes $1 $2 --channel defaults --override-channels python=$3 anaconda +conda create --yes $1 $2 \ + --channel defaults \ + --channel https://www.idiap.ch/software/bob/conda \ + --override-channels \ + python=$3 \ + anaconda$4 \ + bob$5 \ + caffe \ + tensorflow \ + docopt \ + sphinx_rtd_theme \ + gcc \ + coverage + source activate $2 -conda install --yes --no-update-deps bob$4 caffe tensorflow ipdb docopt sphinx_rtd_theme gcc + pip install bob.db.arface \ bob.db.atvskeystroke \ bob.db.avspoof \ @@ -29,7 +43,6 @@ pip install bob.db.arface \ bob.db.replay \ bob.db.scface \ bob.db.utfvp \ - bob.db.voxforge \ bob.db.xm2vts \ bob.db.youtube \ bob.bio.base \ @@ -37,8 +50,9 @@ pip install bob.db.arface \ bob.bio.spear \ bob.bio.face \ bob.bio.video \ + bob.db.voxforge \ gridtk \ - coveralls + ipdb echo "You can now activate your environment like this:" echo "source activate $2"