简体   繁体   English

如何解决 Python Idle 无法打开的问题?

[英]How can I resolve the issue of Python Idle not opening?

Good day everyone, I just bought a system with window 8. I downloaded Python 3.10 and after installing it,to my surprise, the Idle does not open when I click, although the command prompt is working.大家好,我刚买了一个window 8的系统。我下载了Python 3.10,安装后,令我惊讶的是,当我点击时,Idle没有打开,尽管命令提示符正在工作。 I've tried all possible best to resolve this, all to no avail.我已尽一切可能解决这个问题,但无济于事。 How can I overcome this?我该如何克服呢?

With the given details, I can't say something that will work 100% but there are people who were dealing with similar issues:有了给定的细节,我不能说会 100% 有效的东西,但有些人正在处理类似的问题:

I had this issue too, I realized that I had installed the 32bit version on a machine running 64bit. So I uninstalled and installed the 64bit and it's fine now.

or或者

Can you launch Python from a command line and then launch IDLE from there?

    cd c:\python33
    python

After python starts, enter the following:

    import idlelib.idle

I suggest you either try these methods or just straight up reinstall Python to your computer.我建议您要么尝试这些方法,要么直接将 Python 重新安装到您的计算机上。 But be sure to download the right one for your hardware.但请务必为您的硬件下载正确的。
Source: https://bugs.python.org/issue16365来源: https ://bugs.python.org/issue16365
Another place which you can visit as well: Python IDLE shell not opening您也可以访问的另一个地方: Python IDLE shell not opening

Again, you need to provide more detail.同样,您需要提供更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM