Forums

llama_index not recognized

I'm trying to upload a python script as an api and one of the libraries i need is llama_index. I installed it in a virtual env and linked that virtual env to the web app. I keep getting this error

2023-08-03 23:24:41,091: ModuleNotFoundError: No module named 'llama_index'

Can someone please help me out

Make sure that the installation was successfull and you installed the package in the same environment that you use to run your code.