yannickhau
yannickhau

Reputation: 405

KeyError: 'pdb_use_exclamation_mark' in Spyder

I just started my project this morning, which I left last evening. I was about to debug the code which was running yesterday evening without any changes.

I'm receiving this error: KeyError: 'pdb_use_exclamation_mark' This error is referencing to the beginning of the file where nothing has changed since I started my project. It looks like the following:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 23 11:39:04 2020

@author: name
"""
import os

And so on...

Any ideas on how to solve this? Haven't seen anything similar on the web, what might help.

Upvotes: 4

Views: 485

Answers (1)

Carlos Cordoba
Carlos Cordoba

Reputation: 34156

(Spyder maintainer here) If you're using Anaconda, please close Spyder, open the Anaconda Prompt (on Windows) or a system terminal (on Linux or Mac) and run

conda install spyder-kernels=1.9.4

Then start Spyder again. That will fix your problem.

Upvotes: 3

Related Questions