From TSG Doc
Jump to navigation Jump to search

Windows Installation

Windows Installation Python 2.7

You can download the Win32 installer by clicking on the following link:

Set Windows Environment Variables

Computer --> Properties --> Advanced settings --> Environment Variables.

Python env.jpg

Add the following Path:


Python path.jpg

Python path2.jpg

Windows Installation PIP package manager

Install Pip by executing you can get the file here:*

Execute the following command:


  • PIP is included by default within python 2.7.9
Python Library Description Installed Installer Type URL
PIL Python Image Library Yes Package Manager
SciPy Python-based ecosystem of open-source software for mathematics, science, and engineering. Yes Package Manager
PyWin32 Python Extensions for Windows Yes Windows Installer
PySerial Serial access for Python Yes Windows Installer
wxPython GUI Toolkit for Python Yes Windows Installer
matplotlib 2D plotting library for Python Yes Windows Installer
pyo dedicated Python module for digital signal processing Yes Windows Installer
Opencv2 Open Source Computer Vision is a library of programming functions mainly aimed at real-time computer vision Yes Windows Installer
PyQt Python binding of the cross-platform GUI toolkit Qt Yes Windows Installer
PyQtGraph Scientific Graphics and GUI Library for Python Yes Windows Installer
LXML library for processing XML and HTML in the Python language Yes Package Manager
PyGame Pygame is a set of Python modules designed for writing games. Yes Windows installer
PANDAS Python Data Analysis Library Yes Package Manager
Expyriment A Python library for congnitive and neuroscientific experiments. Yes Package Manager
Pyparse Parse text files in an easier and more maintainable manner Yes Package Manager
AVbin media decoding/decompression library Yes Windows Installer
Pyglet a cross-platform windowing and multimedia library for Python. Yes Manual Install
FreeType Library to Render Fonts Yes Manual Install
Psychopy Psychology Software in Python Yes Package Manager

Install Psychopy


c:\pip install psychopy

Default Folder Location packages

The librarys is installed on the following windows path:


Windows Installation Setup-Tools (easy_install)

Execute the command within CMD:

pip install -U setuptools

Windows Handlers

Check the Handlers by opening the Windows registry editor.

Windows Registry Editor Version 5.00
@="\"C:\\Python27\\python.exe\" \"%1\" %*"

Windows Registry Editor Version 5.00
@="\"C:\\Python27\\python.exe\" \"%1\" %*"

Windows Registry Editor Version 5.00
@="\"C:\\Python27\\python.exe\" \"%1\" %*"

Windows Registry Editor Version 5.00
@="\"C:\\Python27\\python.exe\" \"%1\" %*"

Python DLL Files

  • C:\Python27\DLLs\
  • Path Within the script.
  • C:\Windows\System32 or
  • C:\Windows\SysWOW64

Execute Python

Execute the following script within the commandline:

python a.

You will see the following result:

number of argument:  2
 argv[0]: ./
 argv[1]: a