Skip to content
Snippets Groups Projects
Commit b2fc33b0 authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

update create_new_env script

parent d1a9265b
No related branches found
No related tags found
1 merge request!34Adapt our scripts to use our channel
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment