Open gkep opened 3 years ago
Ok, I guess this is a duplicate of https://github.com/spyder-ide/spyder/issues/13453
I was able to replicate this issue in Spyder 5.0.0 for Windows 10 (installed with the standalone installer) under additional conditions. It is not an issue when working in the Spyder default environment (python 3.7.9). Switching to a brand new python 3.9.4 environment, the issue arose. Any exception results in ERROR: Execution Aborted
in response to all further commands if the graphics backend is set to Automatic
or Tkinter
atomicwrites >=1.2.0 : 1.4.0 (OK) chardet >=2.0.0 : 4.0.0 (OK) cloudpickle >=0.5.0 : 1.6.0 (OK) cookiecutter >=1.6.0 : 1.7.2 (OK) diff_match_patch >=20181111 : 20200713 (OK) intervaltree : None (OK) IPython >=7.6.0 : 7.22.0 (OK) jedi =0.17.2 : 0.17.2 (OK) jsonschema >=3.2.0 : 3.2.0 (OK) keyring >=17.0.0 : 23.0.1 (OK) nbconvert >=4.0 : 6.0.7 (OK) numpydoc >=0.6.0 : 1.1.0 (OK) paramiko >=2.4.0 : 2.7.2 (OK) parso =0.7.0 : 0.7.0 (OK) pexpect >=4.4.0 : 4.8.0 (OK) pickleshare >=0.4 : 0.7.5 (OK) psutil >=5.3 : 5.8.0 (OK) pygments >=2.0 : 2.8.1 (OK) pylint >=1.0 : 2.7.4 (OK) pyls >=0.36.2;<1.0.0 : 0.36.2 (OK) pyls_black >=0.4.6 : 0.4.6 (OK) pyls_spyder >=0.3.2 : 0.3.2 (OK) qdarkstyle =3.0.2 : 3.0.2 (OK) qstylizer >=0.1.10 : 0.1.10 (OK) qtawesome >=0.5.7 : 1.0.2 (OK) qtconsole >=5.0.3 : 5.0.3 (OK) qtpy >=1.5.0 : 1.9.0 (OK) rtree >=0.8.3 : 0.9.4 (OK) setuptools >=39.0.0 : 54.2.0 (OK) sphinx >=0.6.6 : 3.5.3 (OK) spyder_kernels >=2.0.1,<2.1.0 : 2.0.1 (NOK) textdistance >=4.2.0 : 4.2.1 (OK) three_merge >=0.1.1 : 0.1.1 (OK) watchdog : 1.0.2 (OK) zmq >=17 : 22.0.3 (OK)
cython >=0.21 : 0.29.22 (OK) matplotlib >=2.0.0 : 3.4.1 (OK) numpy >=1.7 : 1.19.3 (OK) pandas >=1.1.1 : 1.2.3 (OK) scipy >=0.17.0 : 1.6.2 (OK) sympy >=0.7.3 : 1.7.1 (OK)
I am getting the same thing now with Spyder 5.0.4 (portable installation on Windows 10; installed through WinPython 3.9.5 at http://winpython.github.io/ ).
What I have noticed (a) as others have reported...
(b) furthermore...
-Type command in the console, such as "In[1]: 1+1". -Press Enter key on keyboard. Nothing happens! -Press Down arrow key. The cursor drops to the next line, after some newly appearing dots, like "...:" -Press Enter key on keyboard. This time the expected output appears on a new line, such as "Out[1]: 2". And the cursor moves to a new input line, "In[2]:".
As others have reported, this occurs with the (default??) setting Tools->Preferences->IPython console->Graphics->Graphics backend->Backend=Tkinter
Note that I am not trying to display any fancy "graphics" (such as a plot, or maybe a dialogue box).
Changing to Tools->Preferences->IPython console->Graphics->Graphics backend->Backend=inline appears to fix the problem(s).
Reverting back to Tools->Preferences->IPython console->Graphics->Graphics backend->Backend=Tkinter causes the problems to reappear.
Ok, I guess this is a duplicate of #13453
Yes, but that report was closed without remediation of the problem.
This bug is reported to have been resolved at https://github.com/winpython/winpython/issues/1015
So, please update to our 5.1.5 version (the one used in that issue by WinPython's maintainer) and try again.
Description
ERROR: execution aborted - Backend Tkinter
This is on Win10, newest Anaconda 2020-11 installer (23.11.2020). After switching Spyder/Preferences/IPython Console/Graphics/Graphics Backend --> Tkinter, there is permanent problem with "ERROR: execution aborted".
Spyder console denies to work after any error is triggered in interpreter. Also IPython console in Spyder has some non-desired behaviors after starting such as blocking Enter or freezing. Problems go away after switching the Backend to Qt5.
Versions
Dependencies