Windows 7 64 bit Python 2.7 Installation
Python 2.7 64
http://www.python.org/ftp/python/2.7.2/python-2.7.2.amd64.m
Create PYTHONPATH variable:
- Start -> Right click on ‘Computer’ and select ‘Properties’ -> Advanced system settings -> ‘Environment Variables’
- Under ‘System variables’, click ‘New…’
- Variable name: PYTHONPATH
- Variable value: c:python27;c:python27dlls;c:python27lib;c:python27liblib-tk
Append PYTHONPATH to PATH variable:
- Start -> Right click on ‘Computer’ and select ‘Properties’ -> Advanced system settings -> ‘Environment Variables’
- Under ‘System variables’ find ‘Path’
- Highlight and select ‘Edit…’
- Add ‘;%PTYHONPATH%’ to the end.
setuptools
http://peak.telecommunity.com/dist/ez_setup.py
ez_setup.py adds ‘easy_install’ to c:python27scripts, you must tell your command line where to find it if you want to run the ‘easy_install’ command. You can either append it to your ‘PYTHONPATH’ variable (see above) or append it to your ‘Path’.
- Start -> Right click on ‘Computer’ and select ‘Properties’ -> Advanced system settings -> ‘Environment Variables’
- Under ‘System variables’ find ‘PYTHONPATH’ (or ‘Path)
- Highlight and select ‘Edit…’
- Add ‘;c:python27scripts’ to the end.
pyserial 64
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyserial
scipy 64
http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
numpy 64
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
matplotlib 64
http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
openpyxl
‘easy_install openpyxl’ from your command line, this is not to be confused with your python command line. You must have setuptools installed, see above.
xlrd
http://pypi.python.org/packages/source/x/xlrd/xlrd-0.7.1.zip#md5=851bd20873224d97cfb5ccca2d22b81c
Beautiful Soup
Great for screen scraping.
http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.0.tar.gz
Install with ‘setup.py install’ from a standard windows command prompt within the Beautiful Soup folder that contains the setup.py file .
mechanize
Python web browser with HTML parsing.
http://wwwsearch.sourceforge.net/mechanize/download.html
Install with ‘easy_install mechanize’ from your windows command prompt.


![Python_pyserial_error_6 SerialException: WriteFile failed ([Error 6] The handle is invalid.)](http://michaelmmyers.com/wisdom/wp-content/uploads/2011/09/Python_pyserial_error_61.png)