Re: when I open a python idle it's constantly showing subprocess connection error
On 9/20/22 09:36, asika wrote: Sent from [1]Mail for Windows References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 dunno if you were trying to send screenshots or something, that doesn't work here. Try: https://docs.python.org/3/library/idle.html#startup-failure Hint: you usually named a file you were working on the same as something IDLE uses, that's the usual cause these days. -- https://mail.python.org/mailman/listinfo/python-list
when I open a python idle it's constantly showing subprocess connection error
Sent from [1]Mail for Windows References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/mailman/listinfo/python-list
Re: Subprocess Connection error
Hi. It's important to include the full text of whatever error messages you're getting. If you can, you should also include your code, or better: include an http://sscce.org/ Can you start the python interpreter from bash, powershell or cmd.exe? If not, please again include the full text of any error messages you get. BTW, it's important to cut and paste TEXT - don't just send screenshots. Good luck. On Tue, Nov 23, 2021 at 8:03 AM wrote: >Hello, > > > >I have been 3.8.10 version of python until I ran the code for tkinter > and > I started getting subprocess connection error. After this I haven’t been >able to open python for use as I get this error upon startup. > > > >Please help resolve the matter soon. > > > >Best regards, > >Nuha > > > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Subprocess Connection error
Hello, I have been 3.8.10 version of python until I ran the code for tkinter and I started getting subprocess connection error. After this I haven’t been able to open python for use as I get this error upon startup. Please help resolve the matter soon. Best regards, Nuha -- https://mail.python.org/mailman/listinfo/python-list
Re: Subprocess Connection Error
On 17/10/20 4:04 pm, Dave Dungan wrote: One more thing, the book says to save it as "types.py". Which is probably a bad thing to do, because there is a built-in module called "types" that this will shadow. If IDLE happens to use that module, bad things could happen. Have you tried using a different name, such as "my_types.py"? -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Subprocess Connection Error
On 10/17/2020 5:00 PM, Dan Stromberg wrote: Does this help? https://stackoverflow.com/questions/29567051/python-error-idles-subprocess-didnt-make-connection-either-idle-cant-start I believe I included every legitimate answer on stackoverflow, including that post, in the doc section linked below. On Sat, Oct 17, 2020 at 12:44 PM Dave Dungan via Python-list < python-list@python.org> wrote: Hello, I bought a book called Coding for Beginners to learn how to code using Python. The first few exercises went fine. When I got to the page called Recognizing types and did the exercise and saved it and tried to run the module it comes up with a Subprocess Connection Error. It says, "IDLE's subprocess didn't make connection. See the Start up failure section of the IDLE doc, online at https://docs.python.org/3/library/idle.html#startup-failure."; I went there and it said to try uninstalling python and then reinstalling it. It actually says, for 3.8+, [some things to try] Python installation issues occasionally stop IDLE: multiple versions can clash, or a single installation might need admin access. If one [cannot] undo the clash, or cannot or does not want to run as admin, it might be easiest to completely remove Python and start over. [more things to try]. I should fix the type and move this down to the bottom as a last resort. I did this and it did the same thing again. It also said something about it is because of the antivirus software. I tried installing python on a different computer and it happened at the exact same place in the exercises in the book. I am far from being a computer whiz, just thought it would be fun to learn some simple coding. Any help would be appreciated. One more thing, the book says to save it as "types.py". I'm glad you added that. Naming files after stdlib modules is a bad idea and is covered by the the first item in the doc. "A common cause of failure is a user-written file with the same name as a standard library module, such as random.py and tkinter.py. When such a file is located in the same directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file." types.py is a standard library file, so try a different name and see if this is the problem. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list
Re: Subprocess Connection Error
Does this help? https://stackoverflow.com/questions/29567051/python-error-idles-subprocess-didnt-make-connection-either-idle-cant-start On Sat, Oct 17, 2020 at 12:44 PM Dave Dungan via Python-list < python-list@python.org> wrote: > Hello, > > I bought a book called Coding for Beginners to learn how to code using > Python. The first few exercises went fine. When I got to the page called > Recognizing types and did the exercise and saved it and tried to run the > module it comes up with a Subprocess Connection Error. It says, "IDLE's > subprocess didn't make connection. See the Start up failure section of the > IDLE doc, online at > https://docs.python.org/3/library/idle.html#startup-failure."; I went > there and it said to try uninstalling python and then reinstalling it. I > did this and it did the same thing again. It also said something about it > is because of the antivirus software. I tried installing python on a > different computer and it happened at the exact same place in the exercises > in the book. I am far from being a computer whiz, just thought it would be > fun to learn some simple coding. Any help would be appreciated. One more > thing, the book says to save it as "types.py". > > Thank you, > Dave Dungan > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Subprocess Connection Error
Hello, I bought a book called Coding for Beginners to learn how to code using Python. The first few exercises went fine. When I got to the page called Recognizing types and did the exercise and saved it and tried to run the module it comes up with a Subprocess Connection Error. It says, "IDLE's subprocess didn't make connection. See the Start up failure section of the IDLE doc, online at https://docs.python.org/3/library/idle.html#startup-failure."; I went there and it said to try uninstalling python and then reinstalling it. I did this and it did the same thing again. It also said something about it is because of the antivirus software. I tried installing python on a different computer and it happened at the exact same place in the exercises in the book. I am far from being a computer whiz, just thought it would be fun to learn some simple coding. Any help would be appreciated. One more thing, the book says to save it as "types.py". Thank you, Dave Dungan -- https://mail.python.org/mailman/listinfo/python-list