Open yuhaoxu99 opened 10 months ago
Having the same issue too.
Having the same issue too.
File "/usr/lib/python3.9/os.py", line 679, in getitem raise KeyError(key) from None KeyError: 'z7YUzeRn0Edu6jfUBKn.......'
You should create an .env file in the project directory and paste the API key into it. As seen here:
Then install python dotenv.
pip install python-dotenv
And use this lines in your main file to load environment:
from dotenv import load_dotenv
load_dotenv()
When I follow the steps of readme, KeyError: 'TIMEGPT_TOKEN' bug will appear. Please can you tell me how can I solve it?