Development Environment Setup for OSX

 
This tutorial assumes you have no programming experience and do not have a development environment. It will guide you through setting up a development environment and producing the code to access advanced machine learning solutions.

If you run into any issues while following this tutorial, please feel free to create an issue on this repository or contact us at contact@indico.io.

Code Editor

You will probably need some kind of text editor for your code. Unless you have a preference already, I recommend Atom.

Getting Started: Development Environment for OSX

1. Open up a Terminal – go to Spotlight (CMD + SPACE) and search “Terminal”.

2. Make sure you have XCode and its developers tools installed.

xcode-select --install

3. Install Homebrew (a great package manager for OSX).

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Add Homebrew’s path to the start of your existing $PATH variable.

open ~/.profile

Then, add the following to the bottom of the file.

export PATH=/usr/local/bin:/usr/local/sbin:$PATH


Now, reload the profile.

source ~/.profile

4. Make sure you have Python2.7 installed.

python --version
# should respond with Python 2.7.x 

If you don’t have Python installed:

brew update
brew doctor
brew install python

5. Install the appropriate imaging libraries.

brew install libjpeg
brew install zlib

6. Install the indicoio Python package.

sudo pip install indicoio


indicoio should be successfully installed! Now you’re ready for the next step.


Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽


Help by drift