123456789101112131415161718 |
- #!/bin/bash
- # Adjust CONDADIR to point to your anaconda installation
- CONDADIR=$HOME/anaconda/bin
- export PATH="$CONDADIR:$PATH"
- export ENVNAME=objsim
- # example for anaconda, using "source activate"
- source activate $ENVNAME
- if [ $? -ne 0 ]
- then
- conda create --name $ENVNAME scipy numpy matplotlib jupyter
- source activate $ENVNAME
- fi
- # alternative for virtualenvwrapper is to use "workon"
- # workon $ENVNAME
|