Windows setup error "Please put your prompt in the file 'prompt' in the project directory #421
Replies: 6 comments 4 replies
-
I had the same issue. The problem is path misalignment. You need to execute the command from project root folder for it to work. The error was resolved. I am yet to use this project successfully though. |
Beta Was this translation helpful? Give feedback.
-
This answer makes no sense whatsoever. I have installed gpt-engineer in c:\source\gpt-engineer I have a blank folder c:\source\myGPT So this is supposed to work:
whether I'm in either folder c:\source\myGPT or c:\source\gpt-engineer it gives the assertion error that makes no sense at all:
|
Beta Was this translation helpful? Give feedback.
-
Yesterday again and again was the energy out, maybe must look. No Problem. But thank you so much. Its a really good family and community here. I like.
Gesendet von Outlook für Android<https://aka.ms/AAb9ysg>
…________________________________
From: Geoffrey Swenson ***@***.***>
Sent: Sunday, July 2, 2023 10:33:24 AM
To: AntonOsika/gpt-engineer ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [AntonOsika/gpt-engineer] Windows setup error "Please put your prompt in the file 'prompt' in the project directory (Discussion #421)
This answer makes no sense whatsoever. I have installed gpt-engineer in c:\source\gpt-engineer
I have a blank folder c:\source\myGPT
So this is supposed to work:
gpt-engineer source\myGPT
whether I'm in either folder c:\source\myGPT or c:\source\gpt-engineer it gives the assertion error that makes no sense at all:
AssertionError: Please put your prompt in the file prompt in the project directory
—
Reply to this email directly, view it on GitHub<#421 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A7BOG3OBF2OSHBP2QFE2OBLXODTYJANCNFSM6AAAAAAZUH77HU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To resolve this issue, follow these steps: Navigate to either the c:\source\myGPT or c:\source\gpt-engineer directory, depending on your preference. Create a new file called prompt within the chosen directory. Open the prompt file and enter your desired prompt text. This prompt will be used by the code you're running. Save the prompt file. After completing these steps, try running the gpt-engineer command again. It should now read the prompt from the prompt file without triggering the assertion error. |
Beta Was this translation helpful? Give feedback.
-
if you have any more questions feel free to let me know or if it's still not working lmk the error and I'll try to figure it out 🗡️ |
Beta Was this translation helpful? Give feedback.
-
I got it working like below c:\git\gpt-engineer-stuff\gpt-engineer(main -> origin) |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to set up GPT engineer on Windows 11, but keeping getting this issue and I can't figure it out. I have installed all the requirements, and when using python -m gpt_engineer.main prompt it says that I don't have a prompt file in the project directory which I do.
Any ideas would be great.
Beta Was this translation helpful? Give feedback.
All reactions