Thursday, March 20, 2014

Getting Started with Python on Windows

I'll be using Python on the Arduino Yun, but wanted to develop scripts on my Windows machine.  Need Python + the pip package manager (to install add on modules).
  1. Install Python (Yun uses 2.7): https://www.python.org/download/ 
  2. Install setuptools: http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools
  3. Install pip: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip
Now you can start a shell by navigating to Start>Python 2.7>IDLE 

Install add ons by starting a Windows command shell (Windows+R and type cmd.exe and press enter).  CD to your Python install directory (C:\Python27 by default).  CD Scripts.  Then you can type something along the lines of:
pip install git+https://github.com/dgrtwo/ParsePy.git

And it will just magically install (hopefully).

2 comments:

Unknown said...

Travel Agency
Travel Agency
Travel Agency
Travel Agency
Travel Agency

Customer Care Number said...

the article is very good and the links are very useful. thanks for share

Labels

Blog Archive

Contributors