llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

"IPython.display" could not be resolved

Open ClandestineClout opened this issue 2 years ago • 3 comments

Ln 2, Col 6:

from gpt_index import GPTSimpleVectorIndex, SimpleDirectoryReader from IPython.display import Markdown, display

documents = SimpleDirectoryReader('data').load_data() index = GPTSimpleVectorIndex(documents)

ClandestineClout avatar Jan 28 '23 20:01 ClandestineClout

are you running this in a jupyter notebook?

jerryjliu avatar Jan 28 '23 21:01 jerryjliu

What's a jupyter notebook? I'm on Windows 11.

ClandestineClout avatar Jan 29 '23 10:01 ClandestineClout

Ok, so I got this specific error handled by installing IPython manually. But now I'm getting another error. It seems to run a bit, but then spits this out:

... File "pandas_libs\interval.pyx", line 1, in init pandas._libs.interval File "pandas_libs\hashtable.pyx", line 1, in init pandas._libs.hashtable "ImportError: DLL load failed while importing missing: %1 is not a valid Win32 application."

ClandestineClout avatar Jan 29 '23 11:01 ClandestineClout

that's more of a jupyter notebook issue, i'm going to close this issue since unrelated

jerryjliu avatar Feb 03 '23 03:02 jerryjliu