Not able to execute seaborn code

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:

  1. seaborn: 0.12.2
  2. numpy: 1.26.4
  3. pandas: 2.2.2
  4. 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)