Last active
July 21, 2016 18:29
-
-
Save ConradStack/58ff3f5e3e211955baff5a58d72936c5 to your computer and use it in GitHub Desktop.
Managing python versions with Anaconda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## If python 3.5, say, has been installed but you want to use v2.7 for | |
## a particular project | |
# Create environment for different (or specific) version of python: | |
conda create -n py27 python=2.7 anaconda | |
# Check available environments (optional) | |
# conda info --envs | |
# Activate this python version: | |
source activate py27 | |
# ... do stuff ... # | |
# Deactivate this environment | |
source deactivate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment