I am trying to execute below lines of code:
import seaborn as sns
sns.set(color_codes=True)
sns.displot(tcs[“Close Price”])
plt.show()
Getting following error:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
following are the installed versions:
- seaborn: 0.12.2
- numpy: 1.26.4
- pandas: 2.2.2
- matplotlib: 3.9.1
Please help to resolve the issue.
If I install different seaborn versions, I get following error:
ImportError: cannot import name ‘VectorPlotter’ from ‘seaborn._core’ (/Users/jayant/Desktop/EPat-Quantisti/Anaconda-Python/Installation/anaconda3/envs/quantra_py/lib/python3.11/site-packages/seaborn/_core/init.py)