Error solution Subprocess Startup Error when starting IDLE Python 3

        Recently installed Python 3.7.3 on a company computer (Windows), the installation is complete intended to run directly IDLE. IDLE result of an error Subprocess Startup Error, click on the "OK" button to IDLE itself off.

        Solutions are as follows:

        1. Locate and open: <Python installation directory> \ Lib \ idlelib \ pyshell.py file.

        2. Locate function definition "def main ():".

        3. down a few lines of the following statement found in step 2, the statement row and modify.
            use_subprocess = True
            amended as:
            use_subprocess = False

        4. Save the file after the restart IDLE to close.

        Reference: https://blog.csdn.net/xiaoyaotan123/article/details/40159691

Guess you like

Origin www.cnblogs.com/r0xFED/p/11111790.html
Recommended