pip install fastchat error
envgap__lm-sys__FastChat-333
Original GitHub issue ↗Opened 2023-04-10
01 / FAILURE SIGNATURE
As reported upstream
ERROR: Project file:///workspace has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
requirements.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
lm-sys/FastChat #333 · read the original issue
I used conda to create a Python 3.8 environment, The version information is as follows
```
(fschat) [root@gpu01]# conda -V
conda 23.1.0
(fschat) [root@gpu01]# pip -V
pip 23.0.1 from /root/anaconda3/envs/fschat/lib/python3.8/site-packages/pip (python 3.8)
(fschat) [root@gpu01]# python -V
Python 3.8.16
```
When I execute `pip3 install fschat` I get an error saying `metadata-generation-failed`, the detailed error message is as follows, How to solve this problem
```
pip3 install fschat -i http://10.113.75.115:3141/admin/pypi/+simple/ --trusted-host=10.113.75.115
Looking in indexes: http://10.113.75.115:3141/admin/pypi/+simple/
Collecting fschat
Downloading http://10.113.75.115:3141/root/pypi/%2Bf/904/bea25caba6f11/fschat-0.1.9-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 kB 22.1 MB/s eta 0:00:00
Collecting markdown2[all]
Using cached http://10.113.75.115:3141/root/pypi/%2Bf/7d4/9ca871d3e0e41/markdown2-2.4.8-py2.py3-none-any.whl (38 kB)
Collecting sentencepiece
Downloading http://10.113.75.115:3141/root/pypi/%2Bf/923/ee4af16dbae1f/sentencepiece-0.1.97-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 681.3 kB/s eta 0:00:00
Collecting uvicorn
Using cached http://10.113.75.115:3141/root/pypi/%2Bf/e47/cac98a6da10cd/uvicorn-0.21.1-py3-none-any.whl (57 kB)
Collecting numpy
Downloading http://10.113.75.115:3141/root/pypi/%2Bf/2ea/bd64ddb96a123/numpy-1.24.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 722.1 kB/s eta 0:00:00
Collecting accelerate
Using cached http://10.113.75.115:3141/root/pypi/%2Bf/41a/84ac94407d7dc/accelerate-0.18.0-py3-none-any.whl (215 kB)
Collecting torch
Downloading http://10.113.75.115:3141/root/pypi/%2Bf/ec5/fff2447663e36/torch-2.0.0-cp38-cp38-manylinux1_x86_64.whl (619.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 619.9/619.9 MB 740.7 kB/s eta 0:00:00
Collecting fastapi
Using cached http://10.113.75.115:3141/root/pypi/%2Bf/daf/73bbe84418020/fastapi-0.95.0-py3-none-any.whl (57 kB)
Collecting tokenizers>=0.12.1
Downloading http://10.113.75.115:3141/root/pypi/%2Bf/a0f/9b92ea0523051/tokenizers-0.13.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 824.9 kB/s eta 0:00:00
Collecting wandb
Downloading http://10.113.75.115:3141/root/pypi/%2Bf/99b/db40587c3300d/wandb-0.14.2-py3-none-any.whl (2.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 159.9 MB/s eta 0:00:00
Collecting requests
Using cached http://10.113.75.115:3141/root/pypi/%2Bf/642/99f4909223da7/requests-2.28.2-py3-none-any.whl (62 kB)
Collecting gradio==3.23
Using cached http://10.113.75.115:3141/root/pypi/%2Bf/1f6/37f80e4b74089/gradio-3.23.0-py3-none-any.whl (15.8 MB)
Collecting markupsafe
Downloading http://10.113.75.115:3141/r04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.