redis-ai-resources icon indicating copy to clipboard operation
redis-ai-resources copied to clipboard

Redis RAG pipeline version conflict error

Open Arvind644 opened this issue 6 months ago • 2 comments

This Redis RAG pipeline notebook is only working with nmpy with version 1.26.4 and its giving error BUG: ModuleNotFoundError: No module named 'numpy.char' and some different error otherwise.

Solution:

Before installing any dependencies, add this line to install specific version of numpy:

!pip install numpy==1.26.4 --force-reinstall --no-cache-dir

Arvind644 avatar May 12 '25 14:05 Arvind644

@Arvind644 thank you for the feedback and fix!

For reference, were you running the notebook in colab or locally?

rbs333 avatar May 12 '25 15:05 rbs333

@rbs333 I was running the notebook in google colab.

Arvind644 avatar May 12 '25 17:05 Arvind644