These instructions cover installing a Python 3 + Jupyter Notebook + Descartes Labs stack on a clean Mac High Sierra OS X system. There are a few optional applications noted that are fun, but not necessary to get the stack running. I use Anaconda/conda for package management & installation.
sudo xcodebuild -license
git config --global user.email "xx@gmail.com"
git config --global user.name "xx"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install my preferred terminal http://iterm2.com/ & http://ohmyz.sh/ (optional)
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
brew install python3
pip3 install descarteslabs
descarteslabs auth login
https://www.anaconda.com/download/#download
~~If you've updated your terminal, you may have to connect terminal to anaconda, giving you access to conda ~~
In your terminal, test if this necessary by typing conda
. If it isn't recognized, do the following.
export PATH="/Users/<your user location>/anaconda3/bin:$PATH"
https://conda.io/docs/user-guide/tasks/manage-environments.html
conda create --name <virtual env name>
source activate <virtual env name>
conda install -c conda-forge -n <virtual env name> descarteslabs
deactivate <virtual env name>
Launch the Anaconda Navigator
Select the Environments tab, then select your virtual environment to see the packages installed
Select "Not installed" from the drop down, and search for GDAL & click the box to install GDAL 2.X.X. This will take a moment.
Go back to the homepage & select your virtual environment from the "Applications on" drop down to gain access to your virtual environment.
Install jupyter notebook on the virtual environment via the Anaconda Navigator.
These instructions walk through how to install the alpha and Jupyter Notebooks for an environment. They should probably be adapted to use a virtual environment.
Install python 2.7 and and pip (I think I used brew, but cannot recall.)
Via pip, run:
pip install --user jupyter notebook
Add the user to your ~/.bashrc.
export PATH="$HOME/Library/Python/2.7/bin:$PATH"
Install nightly Alpha using pip. The latest client packages can be found here: https://docs.descarteslabs.com/docs/installation.html#alpha-installation
pip install --user GDAL
pip install --user scikit-learn```