ModuleNotFoundError: No module named 'openai'

Bit Galicia, S.L 30 Reputation points
2023-05-18T18:06:53.5433333+00:00

Estoy experimentando un error "ModuleNotFoundError: No module named 'openai'" al ejecutar mi función de Azure (HttpTrigger1). He verificado que el módulo está **openai**instalado correctamente en mi entorno local y he incluido la línea **openai==0.27.0**en mi archivo requirements.txt. También he ejecutado el comando **pip install -r requirements.txt**para instalar las dependencias en mi entorno de Azure Function. Sin embargo, sigo obteniendo el mismo error. Me gustaría obtener asistencia para resolver este problema y asegurarme de que el módulo esté disponible en mi entorno de Azure Function. ¿Pueden ayudarme con esto ? "

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,080 questions
0 comments No comments
{count} votes

Accepted answer
  1. VasaviLankipalle-MSFT 18,676 Reputation points Moderator
    2023-05-18T19:06:58.0533333+00:00

    Hello @Bit Galicia, S.L , Thanks for using Microsoft Q&A Platform.

    Sorry for the inconveniences, but we only support English in this forum; please post a new question in English so that community members can assist you on the same.

    We apologize for any difficulty; we are attempting to avoid language misunderstandings. Hope you understand. Looking forward to your post.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.


0 additional answers

Sort by: Most helpful

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.