How to run from source under Windows
Download and Install Required Software
Note: This section will be automated in a future release of Puzzlebox Brainstorms
- Python 2.5.4 or later for Windows
- Pygame for Windows
- PyQT http://www.riverbankcomputing.co.uk/software/pyqt/download for Windows
- Python Setuptools http://pypi.python.org/pypi/setuptools#files
- Jaraco.nxt (the below command also automatically installs PySerial)
c:\Python25\scripts\easy_install.exe --always-unzip jaraco.nxt
or
c:\Python26\scripts\easy_install.exe --always-unzip jaraco.nxt
etc.
c:\Python25\scripts\easy_install.exe --always-unzip simplejson
or
c:\Python26\scripts\easy_install.exe --always-unzip simplejson
etc.
Add Python to system Path
- Select "System" from Control Panel (it may be necessary to switch to "Classic View")
- Select "Advanced" tab from System Properties window
- Click "Environment Variables" button
- Under "System variables" select "Path" and click the "Edit" button
- Add "C:\Python25;" (or "C:\Python26;" or similar) to the beginning of the "Variable value" text entry field
LEGO Mindstorms Remote Control Setup
- Connect your PC to the LEGO Mindstorms NXT robot using Bluetooth (see ConnectingBluetoothForWindows)
Running the Software
- Load the server and client components, by double-clicking "brainstorms-local.py" or running "python brainstorms-local.py" from the command line:
- You should see a message such as the following:
--> [Server] Initializing server on :8194
Control Via EEG Headset
- For NeuroSky MindSet, see NeuroSkyMindSetEEGControl
- For Emotiv EPOC, see EmotivEEGControl
Troubleshooting
- If under Windows you have any problems launching the software, related to the PyQT library, please see this link:
- Specifically, if you see this error "ImportError: DLL load failed: The operating system cannot run %1" it maybe necessary for you copy two DLL files ssleay32.dll and libeay32.dll into the System32 directory (for example C:\Windows\System32)
