Skip to content

Instantly share code, notes, and snippets.

@tdhopper
Created October 9, 2016 00:39
Show Gist options
  • Save tdhopper/cbcc69722c33a647a39357042462bd00 to your computer and use it in GitHub Desktop.
Save tdhopper/cbcc69722c33a647a39357042462bd00 to your computer and use it in GitHub Desktop.
Create conda environment
query="{query}"
fn=${query// /_}
p="/Users/tdhopper/repos/distil/data_science/$fn"
mkdir $p
cd $p && source /Users/tdhopper/.bash_functions && conda-env-file
/usr/local/bin/subl -n $p $p/environment.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment