-
Notifications
You must be signed in to change notification settings - Fork 43.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues encountered while running the project on Windows 10 with Python 3.11 #64
Comments
Upgrade to openAI solved these issues Now got a new issue |
Again dumb me should have read the readme.md correctly renamed the .env file |
Maybe I am not allowed, so I revisited and applied for it. Then I changed it to gpt-3.5turbo |
This last erorr looks like it's due to a bad prompt, try the default one and see if it's any different. Also please make sure you're on the latest version. |
I tried the defaults and got the same error. [32mWelcome to Auto-GPT! ←[0mEnter the name of your AI and its role below. Entering nothing will load defaults. |
When I run it in MS Code, I get the colours, and it will load the prompt file. PS C:\development\PythonDevelopment\Auto-GPT\scripts> & C:/Users/sunil/AppData/Local/Programs/Python/Python311/python.exe c:/development/PythonDevelopment/Auto-GPT/scripts/main.py |
I can see we are getting assistant_reply from the OpenAI response. assistant_reply = response.choices[0].message["content"] in the response is a JSON but the content variable is just a string. Here the response is from gpt-3.5-turbo I have tried the option also - python scripts/main.py --gpt3only but the same results. Any clue to fix this? Thanks. |
closing as outdated. |
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
I encountered multiple issues while trying to run your project on Windows 10 with Python 3.11 using Windows CMD.
Missing modules after running the requirements: I was unable to find a compatible version of pywin32, so I installed it manually using the following command:
python -m pip install pywin32
I also had to install the following modules manually:
pip install google
pip install readability-lxml
pip install playsound
pip install python-dotenv
pip install docker
Strange characters in the output: After running the program, I noticed some strange characters like ←[32m and ←[94m in the output. This might be an issue with Windows CMD.
AttributeError after answering the AI goals: After answering the question "Enter up to 5 goals for your AI," I encountered the following error:
File "\Auto-GPT\scripts\main.py", line 204, in
assistant_reply = chat.chat_with_ai(
^^^^^^^^^^^^^^^^^^
File "\Auto-GPT\scripts\chat.py", line 68, in chat_with_ai
response = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'ChatCompletion'. Did you mean: 'Completion'?
Please help me understand if I missed anything during the setup process and how I can resolve these issues.
I appreciate your support.
Best regards,
Sunil
The text was updated successfully, but these errors were encountered: