Install openai python. My solution was to install it with python 3.