ModuleNotFoundError: No module named openai

Anyone else can’t get openai to work?

Day 95

Repl link:

Here is the error that I get:

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    import requests, openai, os
ModuleNotFoundError: No module named 'openai'


Any ideas what is wrong?
Thank you in advance!

Hi @MaksimsP1 , welcome to the forums!
Try entering poetry add openai in the Shell.
Hope this helps!

1 Like