AutoGPT: Error with 'python -m autogpt' command. Please set your OpenAI API key in .env or as an environment variable. You can get your key from https://beta.openai.com/account/api-keys
Duplicates
- I have searched the existing issues
Steps to reproduce 🕹
Installed the ‘stable’ version of the program I run ‘python -m autogpt’ command and comes up with an error.
I have paid Chat GPT and Open AI API accounts. For Chat GPT I have access to version 4 For Open AI API I do not have access to version 4, I am on the version before this.
Current behavior 😯
Error message ;Please set your OpenAI API key in .env or as an environment variable. You can get your key from https://beta.openai.com/account/api-keys’
Expected behavior 🤔
Should load the program as to start commands
Your prompt 📝
python -m autogpt```
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 20 (4 by maintainers)
I used ‘ren .env.template .env’ which seem to work for my windows CMD portal