shreyashankar / gpt3-sandbox

The goal of this project is to enable users to create cool web demos using the newly released OpenAI GPT-3 API with just a few lines of Python.
MIT License
2.9k stars 880 forks source link

ModuleNotFoundError: No module named 'api' #68

Closed Tominium closed 3 years ago

Tominium commented 3 years ago

Whenever I run from api import GPT, Example, set_openai_key I always get this error Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'api' Even though I have already installed everything and followed the instructions properly..

shreyashankar commented 3 years ago

What directory are you running this command from?

Tominium commented 3 years ago

from root I beleive

shreyashankar commented 3 years ago

What OS are you using, and could you post a screenshot of your terminal? I just verified that it works on my end but there might be an issue on a different system

shreyashankar commented 3 years ago

Closing since there has not been activity.

00-rgb commented 1 year ago

@shreyashankar can you help me i have the same error