conda update spyder
(or pip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
I have recently re-installed Anaconda and Spyder from scratch, since conda update conda
did not work. After it, Spyder started to give me problems. Every now and then, probably 6 out 10 times a run a line/code the Console shots a ERROR: execution aborted
, and I have to re-start the code from scratch.
A smooth and clean run from beginning to end of my script.
PASTE TRACEBACK HERE
# Mandatory:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.5.0 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.16.1 (OK)
jedi =0.17.1 : 0.17.1 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 1.1.0 (OK)
paramiko >=2.4.0 : 2.7.1 (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.7.0 (OK)
pygments >=2.0 : 2.6.1 (OK)
pylint >=1.0 : 2.5.3 (OK)
pyls >=0.34.0;<1.0.0 : 0.34.1 (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 0.7.2 (OK)
qtconsole >=4.6.0 : 4.7.5 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.4 (OK)
sphinx >=0.6.6 : 3.1.2 (OK)
spyder_kernels >=1.9.2;<1.10.0 : 1.9.2 (OK)
watchdog : None (OK)
zmq >=17 : 19.0.1 (OK)
# Optional:
cython >=0.21 : 0.29.21 (OK)
matplotlib >=2.0.0 : 3.2.2 (OK)
numpy >=1.7 : 1.18.5 (OK)
pandas >=0.13.1 : 1.0.5 (OK)
scipy >=0.17.0 : 1.5.0 (OK)
sympy >=0.7.3 : 1.6.1 (OK)
Hi @DanielIAvila,
Can you please upload here a gif or screenshot with the behavior that you are getting? As well, if you can share with us some file that you write and is presenting the issue to see if we can reproduce it.
Thanks for reporting!
I'm closing this issue because there wasn't a follow-up response after a week
I am experiencing the same problem, in Spyder 4.1.5:
I think it could be related to the iPython kernel. The version of ipykernel is 5.1.4.
Hey @windengineer0 ,
Maybe it is a library you are using, or the installation went wrong. In any case, I solved the problem like this:
conda shell
create a new environment.environment
with conda install
. If this does not work, use conda forge XX
, where XX
is the library you want to use.spyder
, kernels
, pandas
, xx
This was the only way I could solved the problem. After you encounter this problem, what you are going to find is that variable explorer
will not work. So, better to fix it right away.
I've got the same issue in spyder 4.1.5. Any exception means I have to restart the kernel. I guess I'll start a fresh environment. Again.
Hi, could you guys check if updating ipykernel
to 5.3.4 helps?
Same problem after updating for me. But thanks for trying.
Could you try to update IPython
and QtConsole
? Maybe looking our Basic First Aid Guide could give more alternatives to try. Sorry to not be so helpful (there is not much we can do in this sort of installation issues for now :/ ).
None of the updates (ipython, qtconsole, Spyder, Spyder dependencies) make a difference. But spyder --reset
seems to have done the trick. Which is odd, as this was a fresh environment. But thanks!
I had some success with a new environment, but it eventually produced the same behavior. Now I've tried spyder --reset
and it seems to work, hopefully for good. Thanks for the tip!
I have been having this same problem- but it only happens when I'm using an automatic graphics backend, for interacting with graphs. inline plotting doesn't give me this issue
spyder --reset reverts it to inline plotting, but it isn't really a fix?
I have been having this same problem- but it only happens when I'm using an automatic graphics backend, for interacting with graphs. inline plotting doesn't give me this issue
spyder --reset reverts it to inline plotting, but it isn't really a fix?
This, solved my problem. I returned the plotted graphics to in line format
I had some success with a new environment, but it eventually produced the same behavior. Now I've tried
spyder --reset
and it seems to work, hopefully for good. Thanks for the tip!
This worked for me as well
Most helpful comment
I had some success with a new environment, but it eventually produced the same behavior. Now I've tried
spyder --reset
and it seems to work, hopefully for good. Thanks for the tip!