cancel
Showing results for 
Search instead for 
Did you mean: 
Khoros Community Forums Support (Not for Databricks Product Questions)
Please use this forum to alert the Community administrators to issues with the Khoros platform and moderation concerns. This is not a forum for Databricks product questions.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Carl_B
by New Contributor II
  • 7975 Views
  • 1 replies
  • 0 kudos

import openai | challenges

Hello World,I am facing some challenges running OpenAI on Databricks using Azure. I can easily pip install openai.However, problems start once I run the python line: import openai. After that, I can a series of errors and never ending error messages....

  • 7975 Views
  • 1 replies
  • 0 kudos
Latest Reply
User16611530679
Databricks Employee
  • 0 kudos

Hi @Carl_B , Good Day!I understand that you are trying to import the OpenAI client but that fails. However, can you please try installing as specified below and let us know how it goes?    !pip install --upgrade openai dbutils.library.restartPython(...

  • 0 kudos