Talib library installation

I have installed Talib library in python. But after import Talib command  in Jupiter notebook, following error generated.

 

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. 
Expected 216 from C header, got 192 from PyObject

Please advise me to fix above error.

 

Hi Vivek,



This error is usually caused by incompatible package versions.



Can you please share the following to help you further.

  1. the output of the !pip list command in your Jupyter notebook
  2. your operating system name and version along with 32/64 bit. (Can be found in system settings/control panel of the computer)
  3. the version of Anaconda (Run conda --version in your command prompt)
  4. the version of Python installed on your system. (See this link
Thanks!


 

I have solved above incompatibility issue of numpy. i gave following command in anaconda prompt.



pip install numpy --upgrade



So numpy is upgraded to 1.20.1



Now, while importing Talib, no error is generated.



Thanks for your advice.



regrds



Vivek