Skip to content
Graham Voysey edited this page Aug 15, 2014 · 1 revision

#Unlock installation for app development (no signal recording)

  1. Windows 7 or 8 (64-bit) are the only currently supported operating systems. The installation should take about 20-40 minutes and 2GB of disk space.

  2. If you don’t have it, install Microsoft Visual C++ 2010 Redistributable Package (x86): here

  3. Install Git.

  4. In Git bash (or cmd), change the working directory to where you want to install Unlock with cd. Don’t create a separate Unlock directory - it will be done automatically. Then, run git clone https:// github.com/NeuralProsthesisLab/unlock.git .

  5. Download Python and its packages from our site

  6. Install Python 3.3.2 (32-bit). During installation make sure to select “install just for me”, don't change the destination directory, and choose “Add python.exe to Path” (“Entire feature will be installed on local hard drive”)

  7. Add a new system environment variable PYTHONPATH and set its value to the full path to the Unlock directory from step #4 (for example: “C:\unlock”)

  8. install the following Python packages (32-bit) selecting the 3.3 Python installation in the installation GUI:

  • Numpy 1.8.1 (install first)

  • Scipy 0.14.0 (install second)

  • Pywin32 219

  • Pyaudio 0.2.8

  • Psycopg2 2.5.3

  • Pyglet 1.2alpha1

  • Scikit-learn 0.15.0

  • Scikit-image 0.10.1

  • Scipy-stack 14.5.30 (install last; it might take 1-2 minutes to install during which it might look like the installer is frozen but just wait and it should resolve itself)

  1. Put the file avbin64.dll into the folder C:\Windows\SysWOW64

  2. Open cmd, navigate to the Unlock folder, navigate inside the 2nd level “unlock” folder and run “python unlock_runtime.py” to start Unlock.

Uninstall Unlock

  1. delete file avbin64.dll from the folder C:\Windows\SysWOW64

  2. uninstall all Python packages from step #8 of installation through Control Panel -> Programs

-> Programs and Features

  1. delete system environment variable PYTHONPATH

  2. run python-3.3.2.msi installer again. This time select “uninstall Python”. Delete remaining

folder C:\Python33

  1. delete Unlock folder

Clone this wiki locally