ModuleNotFound error with the embedding tutorial

I’m following this document OpenAI Platform to setup the python virtual env. After running the three commands. And then I run python web-qa.py. It gives me the error ModuleNotFoundError: No module named 'requests.

Btw, when I tried running this in vscode jupyter. It showed the same error.

I’m new to using python. There must be something wrong with the setup. Hope there’s someone can help.

Hi and welcome to the developer forum!

You might find a video guide like this one helpful to get you started:

1 Like

I tried python -m pip install -r requirements.txt instead of pip install -r requirements.txt. It has installed the dependencies successfully.

1 Like