Cannot import name 'AzureOpenAI' from 'openai'

from openai import AzureOpenAI
ImportError: cannot import name ‘AzureOpenAI’ from ‘openai’
I am not able to import AzureOpenAI with python 3.11.5 version and openai version 1.10.0.

Hi! Welcome to the forums!

Are you sure you’re using the correct environment? If you get the same issue in REPL (in the terminal where pip show openai shows 1.10.0) then it’s probably a bigger issue.

actually I have 1.11
pip show openai
Name: openai
Version: 1.11.1
Summary: The official Python library for the openai API