I would like to know what is causing this error and how to solve it. Before I had an older version of Spyder, these days I updated it and everything else to the latest version, which is 5.1.5.
Once I started programming, when executing the input function it gives me the following error, I give you an example:
peso=float(input('¿Cuanto pesa?'))
And when I run it I get the following error:
How could this problem be solved? Is it something from the new version? Since before I could run it without problems.
I was able to resolve the error on Ubuntu 20.04. 4 as follows:
conda create -n spyder-env spyder -c conda-forge
conda create -n spyder-env spyder numpy scipy pandas matplotlib sympy cython -c conda-forge
Run spyder and the input function worked fine for me.
I leave you some links that helped me to find the solution
https://github.com/spyder-ide/spyder/issues/17616
https://docs.spyder-ide.org/current/installation.html