这也发生在我身上。我所要做的就是卸载并重新安装程序(糟糕但有效)。以下是一些详细说明:
Myro 安装和设置
您将下载 Myro 并将其安装到您的计算机上。在安装结束时,Python、一个 IDLE 和 Myro 的特殊帮助文件将准备好在您的计算机上使用。
在开始之前,请通读这些说明。安装和设置说明将概述 Windows 机器(特别是 Windows XP)的操作,但许多步骤需要在其他平台上执行。IPRE 网站上提供了 Linux、MacOS X 和 Windows 的安装说明。
请非常仔细地按照以下说明进行操作。如果您匆忙完成整个过程而忽略了重要的细节,Myro 的安装和设置将不会顺利进行。您可能希望在完成每个步骤时对其进行检查。注意:您不需要设置硬件。
Python2.4 是编写这些指令时的最新 Python 版本。如果现在有更新的东西,请不要感到惊讶。
您应该已经具备如何在计算机上下载文件和创建文件夹的基本知识。如果您不知道,请查阅 Windows 帮助菜单并了解您不知道的详细信息。第 1 步:阅读说明
Please read these instructions thoroughly before continuing to Step 2. You may want a parent or friend to sit with you for support. Reading and following directions takes practice.
Every computer is different, so don’t be surprised if during the installation and setup process you have to make some minor adjustments. In those situations, simply accept any default choices that Windows makes for you. Instructions specific to systems other than Windows XP can be found on the IPRE site as well as a list of possible problems and the solutions.
第 2 步:下载 Myro
Go to the Myro Installation Manual (http://wiki.roboteducation.org/Myro_Installation_Manual) section of the IPRE website.
Scroll down the page and to the section titled Myro Installation and Setup. Click the Windows Setup link. (If you are running a different operating system, click the appropriate link.)
No matter which version of Windows you have, click the link to download the Myro ZIP File.
When the File Download dialog box appears, choose the Save button.
Save the zip file to the root directory (C:) of your computer’s hard drive. The directory structure of every computer is different, but make sure your root directory appears in the “Save in” window and the file appears in the “File name” window as shown below. Select Save.
The name of the C: drive will vary from one computer to another. You can be pretty sure you are saving the file in the right place if “C:” appears in the Save in: window.
After completing the installation, you can archive this file to a different folder if you prefer. Do not delete the file in case you may need to re-install at a later date.
Once the download is complete, open the folder to your root directory.
You should see the saved file myro-all-270.zip. Your directory and version number may be different.
第 3 步:安装 Myro
Open the myro-all-270.zip file by double clicking on it.
Inside the Zip file is a folder titled Myro Install Files. Copy this folder to your Desktop.
Once on your Desktop, open the Myro Install Files folder. Important Note: Opening the folder from within the Zip folder will not work. The folder must be located outside the Zip folder.
If you have Windows XP, double click the install.bat file. If you have Windows Vista or Windows 7, right click the install.bat file and choose “Run as Administrator”.
A series of dialog boxes will now appear. Choose the default settings for each by clicking the Next button.
第 4 步:设置 Myro
After the installation is complete, you will see the Start Python.pyw icon on your Desktop.
Move the Start Python.pyw file to your CP1 Course Files folder you previously created on your local hard drive (C:). Doing so will allow you to easily save your work to the proper folder instead of on your Desktop.
Once the Start Python.pyw file is in your CP1 Course Files folder, you can launch Python by double clicking the Start Python.pyw icon. The IDLE for Python will launch.
You are now ready to type your first Python program. Do not type in the sample program from the IPRE website. Do not attempt the Hardware Setup for the robot. This has been done for you.
Sometimes installation and setup are not successful on the first attempt. If that happens to you, please re-read the instructions carefully and try again. After a second unsuccessful attempt, please contact your instructor for additional assistance.