Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 windows 7 64 位和 python 2.7.3 32 位并且 IDLE 不会打开。我有 python 2.7.3 64 位(并且 IDLE 很好) - 但我需要 32 来运行一些代码。有任何想法吗?
打开 cmd 或 powershell 并输入:
C:\path\to\python.exe -m idlelib.idle
其中当然 \path\to\python.exe 是您的 python 可执行文件的本地路径。你看到那里有什么错误吗?
卸载 64 位 Python 2.7 并安装 32 位 Python 2.7。然后你的 IDLE 就可以正常工作了。