Spyder debugger not working [poll]

Simone Russolillo (5710 points)
4 8 20
asked Nov 2, 2021 in Programming in Python by Simone Russolillo (5,710 points)
recategorized Dec 4, 2021 by Simone Russolillo

It may happen that while running the spyder debugger it gives a strange error: 

runfile() got an unexpected keyword argument 'current_namespace'

I checked on the internet and I managed to solve the problem by downgrading some anaconda packages:

if you have the same problem open the terminal and paste these two commands, it worked fine for me:

conda activate my_env
conda install ipykernel=6.2.0
### no choices found for poll!
closed with note: good fix

2 Answers

KilianS (3460 points)
5 8 27
answered Nov 2, 2021 by KilianS (3,460 points)
thanks, this helped me.
Ganni02 (4780 points)
1 2 14
answered Nov 2, 2021 by Ganni02 (4,780 points)
After the commands, you might need to close and re-open Spyder as had the issue also. Good day :))