I have recently updated some of my modules in python. First, I updated scipy using pip install scipy --upgrade
. I restarted my jupyter notebook kernel, and everything ran as expected afterwards. I then found that I couldn’t run import matplotlib.pyplot as plt
, as it said the module could not be found. I figured this must be a compatibility issue with the latest scipy, and I updated matplotlib with pip install matplotlib --upgrade
. I restarted the kernel, and now I was greeted with a red kernel error in the top of my notebook page. At this point, I decided I should just close jupyter and re-open the program. To my surprise, my notebook now appeared in dark mode (this was pleasing) and the interface looked completely different (see below). I then open my notebook to run my code, and I find that now none of my modules will load, including scipy, which had previously loaded! Here’s what that looks like:
I get the same error for every package, including numpy, and scipy. Any help resolving this issue is greatly appreciated!!!