Development Environment Setup for WindowsLast Updated: February 19, 2019
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.
Setting up Windows is going to be a little bit involved, so if you have a choice, I highly recommend using either OSX or Linux instead.
If you run into any issues while following this tutorial, please feel free to create an issue on this repository or contact us at firstname.lastname@example.org.
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 Windows
For development in Windows, I recommend getting Cygwin, which gives Windows some commands commonly found in Linux / OSX environments.
- Download Cygwin and run the downloaded installer (64 bit or 32 bit depending). Go ahead and choose all the default options. When it asks to choose a mirror, choose whichever one you’d like – it doesn’t matter.
- Add the Cygwin path to your environment variables. See these instructions. For Windows 8 and 10, you can access environment variables by searching “Environment Variables” in your Start menu.
- Find the PATH variable under your System Environment Variables. Make sure there is a semicolon at the end “;” or add one if there isn’t. Then, paste:
at the end (ensure that folder exists).
LEAVE THIS WINDOW OPEN. We’ll be making more changes.
- Download the latest version of Python 2 (first link). Choose the Windows x86(-64) MSI installer (again 64 bit or regular).
- After you’ve run the Python Installer, go add to the PATH variable again:
- Now, open a Command Prompt. (Start Menu + “cmd”). If you are on an older version of Windows, you may have to do Start -> Run -> “cmd”.
- Test the commands to make sure everything was installed and setup properly.
If ls fails, Cygwin was not installed and setup properly.
If python fails, Python was not installed and setup properly.
If pip fails, C:\Python27\Scripts\ either does not exist or was not added properly.
8. In the Command Prompt still:
pip install indicoio
indicoio should be successfully installed! Now you’re ready for the next step.