Being reading this
http://conda.pydata.org/docs/using/envs.html
Is it possible to run a conda python directly without having to source activate xxx
If conda
is on your path:
source activate <env name> && python xxx.py && source deactivate
If conda
isn't on your path but is installed:
source /path/to/conda/bin/activate /path/to/desired/env_name/ && python xxx.py && source deactivate
Actually, you can do exactly the same as in venv in miniconda. If path_to_miniconda is your installation dir of miniconda, then
/path_to_miniconda/envs/name_of_env/bin/python xxx.py
should work.