Kernel dies with VectorstoreIndexCreator - Anaconda

OS: Mac Ventura 13.1
Anaconda Navigator 2.4.2

I am trying to run the code in L4 LangChain: Q&A over Documents
on my computer, but the kernel always dies when processing the following line

index = VectorstoreIndexCreator(
vectorstore_cls=DocArrayInMemorySearch,
).from_loaders([loader])

Is anyone having a similar issue?

Appreciate your help

Hello @EliLeonardo ,

  • Make sure you have all Dependencies and requirements installed.
  • Update Anaconda and Libraries.
  • Check the error logs that are produced before kernel dies.

With regards,
Nilosree Sengupta

thanks for the quick reply Nilosree.

I recently updated Anaconda and I simply downloaded the Jupyter notebook from the short course and ran it in Anaconda Jupyterlab

when you mention

  • Check the error logs that are produced before kernel dies.

where do I find the error logs?

thanks for your help
Much appreciated
Eli

I uninstalled then reinstalled Anaconda, loaded langchain and it seems to be working now.

In debugging the problem, it appears that there were some packages that were inconsistent and presumably this was causing some issues.