MetaGPT
MetaGPT copied to clipboard
不能在windows系统运行?
┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐
│ C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\metagpt\softwar │
│ e_company.py:108 in startup │
│ │
│ 105 │ │ typer.echo("Missing argument 'IDEA'. Run 'metagpt --help' for more information." │
│ 106 │ │ raise typer.Exit() │
│ 107 │ │
│ > 108 │ return generate_repo( │
│ 109 │ │ idea, │
│ 110 │ │ investment, │
│ 111 │ │ n_round, │
│ │
│ C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\metagpt\softwar │
│ e_company.py:32 in generate_repo │
│ │
│ 29 │ """Run the startup logic. Can be called from CLI or other Python scripts.""" │
│ 30 │ from metagpt.config2 import config │
│ 31 │ from metagpt.context import Context │
│ > 32 │ from metagpt.roles import ( │
│ 33 │ │ Architect, │
│ 34 │ │ Engineer, │
│ 35 │ │ ProductManager, │
│ │
│ C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\metagpt\roles_ │
│ init_.py:16 in
需要安装,否则会缺依赖包。
git clone https://github.com/geekan/MetaGPT.git
cd /your/path/to/MetaGPT
pip install -e .
这里有文档:https://docs.deepwisdom.ai/main/en/guide/get_started/installation.html
Logically using the main branch will not have this problem, but could you please try it?
与 #1127 相同。 已证明windows下可以正常运行。