1

我有一台运行 10.5.8 mac OSX 和 2.5.1 python 的 PowerPC Mac。当我尝试从我下载的 MCP 文件夹运行任何文件时,我收到此错误:Macintosh-2:MCP Rosty$ bash bash-3.2$ /Users/Rosty/Documents/MCP/updatemcp.sh /Users/Rosty/Documents/ MCP/runtime/commands.py:137:警告:'with' 将成为 Python 2.6 Traceback 中的保留关键字(最近一次调用最后):文件“runtime/updatemcp.py”,第 13 行,从命令导入命令文件“ /Users/Rosty/Documents/MCP/runtime/commands.py",第 137 行,open(csvfile, 'rb') as fh: ^ SyntaxError: invalid syntax 我在网上看过,但没有人有同样的问题.. . 有人可以帮忙吗?

4

1 回答 1

0

来自维基: http: //mcp.ocean-labs.de/index.php/MCP_Releases

您需要将 Python 更新到 2.7

编辑:一个简单的谷歌搜索确认,http://www.minecraftforum.net/topic/1752529-mcp-error/

于 2013-07-13T06:54:03.043 回答