gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

FileNotFoundError on last clarrifying question by gpt-engineer

Open promptDeveloper opened this issue 2 years ago • 6 comments

I went through all of the clarifying questions and at the final step it just errored out with the following message. I also noticed that I don't possess the setup file/folder in the identities subfolder, that's what the last line of the error message states.

What should I do here? Screen Shot 2023-06-19 at 5 13 13 PM

promptDeveloper avatar Jun 19 '23 22:06 promptDeveloper

try pip install -e . in the folder with the pyproject.toml

juarezjl avatar Jun 19 '23 22:06 juarezjl

hey where can I find that .toml file? My error message states that I don't have the 'setup' file in the identity subfolder. Screen Shot 2023-06-19 at 5 36 50 PM

ghost avatar Jun 19 '23 22:06 ghost

Actually I got gpt-engineer to write me an app.py file, but I am having trouble running it. Here is the error message I get. Screen Shot 2023-06-19 at 5 50 34 PM Also, I wasn't able to run the pip install --user -r requirements.txt command because I got the following error message. Could these have been reason for python app.py not running? Screen Shot 2023-06-19 at 5 49 10 PM

ghost avatar Jun 19 '23 22:06 ghost

you need to clone the project like in the instructions

Usage
Choose either stable or development.

For stable release:

pip install gpt-engineer
For development:

git clone [email protected]:AntonOsika/gpt-engineer.git
cd gpt-engineer
make install
source venv/bin/activate
Setup

With an api key that has GPT4 access run:

export OPENAI_API_KEY=[your api key]
Run:

Create an empty folder. If inside the repo, you can run:
cp -r projects/example/ projects/my-new-project
Fill in the main_prompt file in your new folder
Run: gpt-engineer projects/my-new-project
Results

Check the generated files in projects/my-new-project/workspace

just do git clone {repo_url} on your {project_folder} I know is kind of confusing

juarezjl avatar Jun 19 '23 23:06 juarezjl

I was able to get my music player interface up and running, and the Browse button lets me look for a local mp3 file, but doesn't let me actually select it, all of the files (including mp3) are greyed out, as the image shows. Is it possible for gpt-engineer to work on multiple iterations of the same product, improving it in every way possible with multiple prompts?

Screen Shot 2023-06-19 at 7 59 28 PM Screen Shot 2023-06-19 at 7 59 57 PM

ghost avatar Jun 20 '23 01:06 ghost

I was able to fix the problem of the mp3 file not being selectable, but now once I select it, it returns me this error. Screen Shot 2023-06-19 at 8 15 34 PM

ghost avatar Jun 20 '23 01:06 ghost