0

I am facing an error which I do not know how to fix. I'm trying to get this piece of code to work on windows but I have this error appearing

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt


plt.plot()

Error: "The kernel appears to have died. It will restart automatically."

Nimantha
  • 6,405
  • 6
  • 28
  • 69

2 Answers2

0

You can just use py script instead of Jupyter but if you wanna use Jupyter try either reinstalling NumPy or update.

pip install -U numpy
Nimantha
  • 6,405
  • 6
  • 28
  • 69
aberkb
  • 664
  • 6
  • 12
0

I just had the same error message appear while using Jupyter notebook. Based on what I read, I think it's suggested to reinstall pandas, NumPy and matplotlib (other libraries if necessary) and see if that works.

I had several other issues, so I reinstalled the Anaconda navigator.

Krishna K
  • 16
  • 3