benryder1988 / Spatial-Workshop

5 stars 11 forks source link

Conda install steps for OS X #2

Open scarroll32 opened 6 years ago

scarroll32 commented 6 years ago

Install process takes some time: strongly recommend doing it ahead of the workshop

Clone this repo locally

mkdir ~/mldays_spatial
cd  ~/mldays_spatial
git clone https://github.com/benryder1988/Spatial-Workshop.git
cd Spatial-Workshop

Download Anaconda installer for Mac and execute the installer.

Check Conda is installed

conda info

Create conda environment for Python 3

conda create --name amld_spatial python=3.6 

Activate the environment

source activate amld_spatial

Install additional libraries

conda install -c conda-forge pysal pandas matplotlib numpy scipy geopandas jupyter gdal palettable
conda install nb_conda
conda install scikit-learn

Start the notebook server

jupyter notebook

Check you can run the first cell of the "Tutorial-Skeleton"

screen shot 2018-01-27 at 23 29 54

Conda cheatsheet

scarroll32 commented 6 years ago

@benryder1988 I hope this is useful tomorrow.