Find answers from the community

Updated 6 months ago

Rebooted vsc, still module not found

At a glance

The community member is experiencing a "module not found" error after rebooting Visual Studio Code (VSC). Other community members suggest that the issue may be related to the environment not being activated when running the script. They recommend keeping the environment active while installing and running the script. One community member also had a separate question about the metadata in the indexer, where the "embedding" value is null, and was informed that the embeddings may not be shown in the example due to their large size, but they are still present in the data.

Useful resources
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