Windows Setup

From IPRE Wiki
Jump to: navigation, search

Easy Instructions for Windows XP

Detailed instructions for Windows XP are available in two versions:

Easy Instructions for Windows 7

Detailed instructions for Windows 7 are available in two versions:


Other Versions of Windows

Brief instructions for Windows XP follow:

If you have a Myro Installation CD, then simply run install.bat from it. See detailed instructions at Myro Windows Automatic Installation.

If you don't have a CD, then the easiest method of installing Myro and all of the additional libraries is to install them from the zip file.

  1. Download the latest Myro ZIP File.
  2. Save that to your hard drive (i.e. click "Save to disk").
  3. Double-click it to open the zip file, and drag the folder named "Myro Install Files" to your desktop. You must unzip this folder; you cannot do the next step from within the zip file!
    • To open / unzip the zip file, you may have to do the following:
    1. Right click on the file, click Explore, and copy all items inside it.
    2. Paste all items into a new folder on your desktop.
    3. When you do the following step, open the install.bat file in your new folder on the desktop, not the original zip file.
  4. Double-click on the install.bat file inside the "Myro Install Files" folder.
  5. See Myro Windows Automatic Installation for more details.

X-Box 360 Gamepad - to use the X-Box 360 controller, you will need to install the driver before plugging the controller into the USB slot. The driver can be downloaded from http://www.microsoft.com/hardware/gaming/download.mspx

Windows Vista Users: Installation compatible with your computer is now available!

  1. Download the latest Myro ZIP File.
  2. Save that to your hard drive (i.e. click "Save to disk").
  3. Double-click it to open the zip file, and drag the folder named "Myro Install Files" to your desktop. You must unzip this folder; you cannot do the next step from within the zip file!
  4. Right-click on the install.bat file inside the "Myro Install Files" folder. A context menu should appear. Select the "Run as Administrator" option to run the batch file with proper privileges to install the software.
  5. See Myro Windows Automatic Installation for more details.

NEW: Windows 7 Beta Users: We have done an initial "smoke test" and the above instructions for Windows Vista largely works, with caveats. We will monitor this as Windows 7 and Myro evolves. Caveats (please edit the wiki with any others you come across):

  • The convenient IDLE shortcut is not added to the Desktop folder (see noted problems on Foreign Language Windows below; possibly the same issue).
  • On running IDLE, you receive a message: "WARNING: sound did not load; need tkSnack?".


You can also make your own CDROM by downloading the latest Myro ISO File and burning your own. This file is 20MB, and can be turned into a CDROM using various programs. On Windows, you could use ISO Recorder, or on Linux, simply right-click on the iso file and select "Create CDROM". Insert the disk into a computer running Windows and the autorun installer should begin. If it doesn't, simply select the file "install.bat". You will install a series of packages. Select the default for each, except that if you have other versions of Python installed, make sure you select Python 2.4 when given a choice amoung others.

You should be ready to insert your Bluetooth USB dongle into the computer and configure it. Details for this step are on the Myro Installation Manual page.

Manual Installation

Only do these steps if you don't want to do the full install above.

The following steps give links for installing each of the Myro components.

  1. You will need Python installed. We will use Python 2.4 from python.org.
  2. Download and run the latest Myro Installer (if you would rather have the source files zipped, use Myro Sources Zipped).
  3. Copy Start Python.pyw to your desktop, or wherever you would like.
  4. Copy these two files to your idlelib subdirectory
  5. Download and run Python for Windows extensions
  6. Download and run pyserial (pyserial-2.2.win32.exe)
  7. If you would like to use the Chat features, you'll need xmpppy
  8. If you would like to view camera and other images, you will need the Python Image Library and Numpy
  9. If you want to use the Text-To-Speech functions in Windows you'll need pyTTS (pyTTS-3.0.win32-py2.4.exe for Python 2.4)
  10. If you want additional voices for pyTTS, you'll need SAPI5VoiceInstaller.msi (Do not install the SAPI5 voice installer on Windows Vista, or it will keep your Text To Speech system from working correctly. It is for Windows XP only!)
  11. If you would like to have sound output on the host computer, you will need Snack Sound Extension. This is handy so the simulator can beep(). To install:
    1. Download Binary release for Windows
    2. unzip
    3. move tkSnack.py to c:\Python2x\Lib\
    4. move snacklib\ to c:\Python2x\tcl\

Possible Problems

import win32file # The base COM port and file IO functions.

ImportError: DLL load failed: The specified module could not be found.

This error (when importing myro) indicates that the pywin32 DLL files could not be registered because you installed them without proper administrator privileges. Find the pywin32 install file and right click on it and choose the "Run as Administrator" option. (Alternatively, you can re-install everything by right-clicking on the install.bat file and choosing the "Run as Administrator" option.)

Foreign Language Windows: No Start Python.pyw file on your desktop If your Desktop folder is named something other than Desktop (such as Screveboard in Sweeden) you will have to manually copy the Start Python.pyw file from the Windows directory on the installation CD or installation folder onto your desktop, as the install.bat file tries to copy it to the Desktop directory.

64 bit systems - Myro will work on 64 bit systems, but you MUST run the installer in 32 bit compatibility mode!

Windows XP Bluetooth Access Denied - If you are getting access denied messages when trying to add a bluetooth COM port on Windows XP, you may be running into a very rare windows problem. See this knowledge base article for the fix.

Windows Vista Bluetooth Driver Won't Start - We have seen conflicts when there are multiple drivers on a PC. A workaround is to identify which of the Bluetooth drivers visible in the Device Manager belongs to your built-in Bluetooth hardware, or your Bluetooth dongle, and disable the other drivers. You can leave the Microsoft Bluetooth Enumerator enabled. For example, using our recommended Bluetooth dongle, leave its driver "CSR Bluetooth Radio" enabled, but disable any others, such as the laptop manufacturer's device driver.