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

error running for the first time

Open Mr0sari0 opened this issue 2 years ago • 3 comments

I am trying to run for the first time and I keep getting an error.

When I run: gpt-engineer projects/my-new-project

I get: Traceback (most recent call last): File "C:\Users\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "C:\Users\AppData\Local\Programs\Python\Python310\Scripts\gpt-engineer.exe_main.py", line 4, in ModuleNotFoundError: No module named 'gpt_engineer'

I appreciate all the help and any suggestions you might have. Thank you, Miguel

Mr0sari0 avatar Jun 23 '23 00:06 Mr0sari0

You need to run as following python -m gpt_engineer.main projects/my-new-project

TharakaUmayanga avatar Jun 23 '23 03:06 TharakaUmayanga

Thank you I got it working I had to uninstall all the pythons reinstall it and update the path

Mr0sari0 avatar Jun 26 '23 16:06 Mr0sari0

I think you have forgot to install the library.

SumitKumarDev10 avatar Jun 30 '23 06:06 SumitKumarDev10