Find answers from the community

Updated 3 months ago

Rebooted vsc, still module not found

Rebooted vsc, still module not found error
W
t
13 comments
Have you installed the dep: pip install llama-index-embeddings-azure-openai ?
Is your env activated?
I have the same dep installed and it is working fine for me๐Ÿ‘€
Ran it super fresh on colab, worked fine too
Attachment
image.png
I have not checked yet since I'm out, but do I have to pip uninstall -> activate env -> pip install again?
No, But you must keep the env active while trying to install and run your script
that's interesting, when i ran the file in cmd while env is activated i assume it's a success since it's able to reach print("done"), previously this has not happened to me on VSC so i was pretty baffled.
Attachment
6aEkPKm.png
edit i guess i can only run this via cmd
Every pypi package installed in a env needs the env to be activated when you are running the command. else it will raise import error just like your case
Actually i have a separate question, so in i actually was following a close example of code in the documentation (https://docs.llamaindex.ai/en/stable/examples/vector_stores/AzureAISearchIndexDemo/), there is a metadata in the indexer called embedding, but it has a value null, so was the text document loaded even embedded?
Attachment
SioE5mp.png
I think they don't show the embeddings there because its huge, but it gets saved.
I have seen similar case in qdrant UI too, But it is present in it
Ah ok thank you so much for your time :bceWantingHug:
Add a reply
Sign up and join the conversation on Discord