ModuleNotFoundError: No module named 'openai

Bit Galicia, S.L 25 Reputation points
2023-05-19T13:43:52.58+00:00

I am experiencing a "ModuleNotFoundError: No module named 'openai'" error when running my Azure function (HttpTrigger1). I have verified that the 'openai' module is installed correctly in my local environment and have included the line 'openai==0.27.0' in my requirements.txt file. I also ran the command 'pip install -r requirements.txt' to install the dependencies in my Azure Function environment. However, I am still getting the same error. I would like assistance in resolving this issue and ensuring that the module is available in my Azure Function environment. Can you help me with this?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,203 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.