Skip to content

Instantly share code, notes, and snippets.

@scw
Last active June 10, 2016 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scw/aacace11185c7c9496f8fe0c1fc2882b to your computer and use it in GitHub Desktop.
Save scw/aacace11185c7c9496f8fe0c1fc2882b to your computer and use it in GitHub Desktop.
Example conda steps
# step 0 -- install miniconda into ~/miniconda
cd ~/miniconda/bin
# running this will drop you into the 'root' conda environment,
# the one that has the conda executable
source ./activate root
# to test, get the version of conda back
conda --version
# Now, you can run the conda command, and create a new environment.
# Here's an example installing a geo stack. Note I reference the
# conda-forge channel '-c conda-forge' because geopandas isn't in
# the default channel. Also can specify versions, here python=3.5
conda create -n pymaptime -c conda-forge python=3.5 shapely rasterio fiona rtree geopandas
# now, we can activate our new environment
source activate pymaptime
# check the packages installed list
conda list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment