Hetvi's doubts

Greetings to mentors and knowledgeable people!
I faced this error when I was practising the third cell of the L1 module of the respective course. How can I solve this issue?
AttributeError: module ‘openai’ has no attribute ‘OpenAI’

And I hope you imported the right openai package. Maybe check your package version, try updating the package, or check your codes again with the course codes.

Thank you for responding! I will check that once.

1 Like