Reputation: 33
I'm encountering an issue where the Python kernel crashes with the message "Python Quit Unexpectedly" when attempting to plot a simple DataFrame or call an external Python script from a Jupyter notebook. Here are the details:
Environment:
Code that Causes the Crash:
import matplotlib.pyplot as plt
import pandas as pd
simple_df = pd.DataFrame({'A': [1, 2, 3, 4, 5], 'B': [5, 4, 3, 2, 1]})
plt.plot(simple_df)
plt.show()
Additional Information:
Steps Taken:
Question: Has anyone else encountered this issue, and if so, how was it resolved? Are there any known compatibility issues with these library versions on macOS 10.14.6? Any suggestions or workarounds would be greatly appreciated.
Upvotes: 0
Views: 13