I’m getting the above error when I run the following code:
import os
import openai
openai.api_key = os.getenv("key")
openai.Image.create(
prompt="A cute baby sea otter",
n=2,
size="1024x1024"
)
The error points to line five, and it kicks out:
AttributeError: module 'openai' has no attribute 'Images'
I installed openai via pip/pip3 in