Last active
June 10, 2016 12:14
-
-
Save scw/aacace11185c7c9496f8fe0c1fc2882b to your computer and use it in GitHub Desktop.
Example conda steps
This file contains 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
# 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