Installation Windows 7 - syue99/Lab_control GitHub Wiki

Install pylabrad Requirements

To check that python was installed correctly, at the "Command Prompt" enter

> python

This should output python version information, and open up the python command prompt

>>>

If this did not happen, but an error about 'python' not being a valid command came up, then you likely need to edit your "path" environment variable. Include at the end of the environment variable (with no spaces after the last existing entry) ";C:\Python27". While there also include ";C:\Python27\Scripts", this will allow you to use some python tools on the command prompt that will be helpful later. The "path" environment variable should now have at the end ";C:\Python27;C:\Python27\Scripts".
The last step is to restart your computer. At this point "python" should be a valid command on the Windows "Command Prompt".

Download the .tar.gz file, and then run

Or Download zope.interface-4.0.1.win-amd64-py2.7.exe (md5) and follow installation

python setup.py install

Install pylabrad

This can be done in two ways: using the binary file or installing from source:

pylabrad Home

pylabrad is currently hosted on github, here:

https://github.com/martinisgroup/pylabrad

Binary

This is the easiest way but may not provide the latest bug-fixes. Download and install from http://sourceforge.net/projects/pylabrad/files/pylabrad/. You may need to run this installation file as administrator.

SVN Checkout

Gets the latest source code

Then use the windows shell.

cd Downloads
svn co https://pylabrad.svn.sourceforge.net/svnroot/pylabrad/trunk pylabrad
setup.py install

Git

Pull files from Martinis group rep at https://github.com/martinisgroup/pylabrad cd into folder with pylabrad and in windows shell: setup.py install

Install Additional python modules:

Direct Ethernet Server (if necessary)

Node Server

Install GPIB support

Opal Kelly (if necessary)

  • Use the Opal Kelly CD to install the drivers, the 32bit version works well on 64bit Windows 7.

Troubleshooting: