Pip install error
Bug description I am facing the following issue when I try to do pip install on my
PS C:\Users\jawwa\Downloads\AI Agents> pip install metagpt Collecting metagpt Using cached metagpt-0.8.1-py3-none-any.whl.metadata (15 kB) Collecting aiohttp==3.8.6 (from metagpt) Using cached aiohttp-3.8.6.tar.gz (7.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting channels==4.0.0 (from metagpt) Using cached channels-4.0.0-py3-none-any.whl.metadata (1.5 kB) Collecting faiss-cpu==1.7.4 (from metagpt) Using cached faiss-cpu-1.7.4.tar.gz (57 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting fire==0.4.0 (from metagpt) Using cached fire-0.4.0.tar.gz (87 kB) Preparing metadata (setup.py) ... done Collecting typer==0.9.0 (from metagpt) Using cached typer-0.9.0-py3-none-any.whl.metadata (14 kB) Collecting lancedb==0.4.0 (from metagpt) Using cached lancedb-0.4.0-py3-none-any.whl.metadata (16 kB) Collecting loguru==0.6.0 (from metagpt) Using cached loguru-0.6.0-py3-none-any.whl.metadata (21 kB) Collecting meilisearch==0.21.0 (from metagpt) Using cached meilisearch-0.21.0-py3-none-any.whl.metadata (8.8 kB) Collecting numpy==1.24.3 (from metagpt) Using cached numpy-1.24.3.tar.gz (10.9 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "C:\Users\jawwa\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
PS C:\Users\jawwa\Downloads\AI Agents> pip show metagpt
WARNING: Package(s) not found: metagpt
What do I do to install it properly?
You need to first install a Linux OS simulator, such as MinGW or Cygwin, and then install MetaGPT.
The version of Python should be >=3.9 and <=3.11, I have used 3.12 , faced the same question.
This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.
This issue was closed due to 45 days of inactivity. If you feel this issue is still relevant, please reopen the issue to continue the discussion.