Erorr in openai module for required version

I have the version that is labeled installed from the requirements.txt file as
0.28.1 and my code imports:
from openai import OpenAI
it doesn’t recognize class “OpenAI”, thus none of the code involving openAI works. Any help?