Issues running Python

32 views
Skip to first unread message

Aaron C.

unread,
May 22, 2022, 1:57:22 PM5/22/22
to spyder
Hello, until recently my Python was running perfectly fine. I use Spyder as my IDE. Today, however, when trying to run an input in my code, Python won't run. I updated my PC but apart from that am not sure what the issue is coming from. Here is a screenshot of the error message. Please help!! 

Screenshot 2022-05-16 000722.png

Emilio Carlos Aguirre Angeles

unread,
Jul 1, 2022, 1:46:07 AM7/1/22
to spyder
I have the same problem both in macOS Monterrey Version 12.4 and in  windows 10. When I try to use input(), I saw the message in the image attached.

I read the article PEP 3111 Simple input built-in in Python 3000, and I tried to  use a code similar to:
import sys
print("What is your name?") 
name = sys.stdin.readline()
but it didn't work the script didn't stop to wait for the information that it is needed. How do we solve this problem? I mean how data can be entered to python 3.9. I run the command input() in the terminal in Mac and It works perfectly but not in the Spyder's console.

Captura de Pantalla 2022-06-27 a la(s) 11.35.37.png

Daniel Althviz Moré

unread,
Jul 14, 2022, 1:14:51 PM7/14/22
to spyder
Hi,

If you are having issues with the input function and using Spyder 5.1.5 (the default version that comes with the Anaconda distribution) you can check the related issue on GitHub: https://github.com/spyder-ide/spyder/issues/17616

Best regards,

Daniel
Reply all
Reply to author
Forward
0 new messages