Repository: modelscope/evalscope
Issue: 安装1.0.1版本无法自动安装latex2sympy2-extended依赖
Root cause: Configuration Error

## 问题描述

在安装ms-swift 3.8.0 时需要安装 1.0.0版本以上的evalscope，当1.0.1版本的evalscope依赖的latex2sympy2-extended不能直接安装

## EvalScope 版本（必填）
v1.0.1

## 执行的代码或指令
pip install evalscope

请提供您执行的主要代码或指令。

## 错误日志
(ms-swift) caibinquan@linkric-10-caibinquan:/share/caibinquan-nfs/ms-swift-3.8.0$ pip install -e '.[all]'
Obtaining file:///share/caibinquan-nfs/ms-swift-3.8.0
  Preparing metadata (setup.py) ... done
Requirement already satisfied: accelerate in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.4.0)
Requirement already satisfied: addict in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (2.4.0)
Requirement already satisfied: aiohttp in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (3.11.13)
Requirement already satisfied: attrdict in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (2.0.1)
Requirement already satisfied: binpacking in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.5.2)
Requirement already satisfied: charset_normalizer in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (3.4.1)
Requirement already satisfied: cpm_kernels in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.0.11)
Requirement already satisfied: dacite in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.9.2)
Requirement already satisfied: datasets<4.0,>=3.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (3.2.0)
Requirement already satisfied: einops in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.8.1)
Requirement already satisfied: fastapi in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.115.9)
Requirement already satisfied: gradio>=3.40.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (4.44.1)
Requirement already satisfied: importlib_metadata in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (8.6.1)
Requirement already satisfied: jieba in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.42.1)
Requirement already satisfied: matplotlib in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (3.9.4)
Requirement already satisfied: modelscope>=1.23 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.23.1)
Requirement already satisfied: nltk in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (3.9.1)
Requirement already satisfied: numpy in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.26.3)
Requirement already satisfied: openai in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.65.1)
Requirement already satisfied: oss2 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (2.19.1)
Requirement already satisfied: pandas in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.5.3)
Requirement already satisfied: peft<0.18,>=0.11 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.11.1)
Requirement already satisfied: pillow in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (10.4.0)
Requirement already satisfied: PyYAML>=5.4 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (6.0.2)
Requirement already satisfied: requests in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (2.32.3)
Requirement already satisfied: rouge in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.0.1)
Requirement already satisfied: safetensors in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.5.3)
Requirement already satisfied: scipy in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (1.13.1)
Requirement already satisfied: sentencepiece in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.2.0)
Requirement already satisfied: simplejson>=3.3.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (3.20.1)
Requirement already satisfied: sortedcontainers>=1.5.9 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (2.4.0)
Requirement already satisfied: tensorboard in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (2.19.0)
Requirement already satisfied: tiktoken in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.9.0)
Requirement already satisfied: tqdm in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (4.67.1)
Requirement already satisfied: transformers<4.57,>=4.33 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (4.49.0)
Requirement already satisfied: transformers_stream_generator in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.0.5)
Requirement already satisfied: trl<0.21,>=0.15 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.15.0)
Requirement already satisfied: uvicorn in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.34.0)
Requirement already satisfied: zstandard in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from ms_swift==3.8.0) (0.23.0)
Collecting evalscope>=1.0.0 (from ms_swift==3.8.0)
  Using cached evalscope-1.0.1-py3-none-any.whl.metadata (40 kB)
Collecting swanlab (from ms_swift==3.8.0)
  Using cached swanlab-0.6.9-py3-none-any.whl.metadata (41 kB)
Requirement already satisfied: filelock in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (3.17.0)
Requirement already satisfied: pyarrow>=15.0.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (19.0.1)
Requirement already satisfied: dill<0.3.9,>=0.3.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (0.3.8)
Requirement already satisfied: xxhash in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (3.5.0)
Requirement already satisfied: multiprocess<0.70.17 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (0.70.16)
Requirement already satisfied: fsspec<=2024.9.0,>=2023.1.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from fsspec[http]<=2024.9.0,>=2023.1.0->datasets<4.0,>=3.0->ms_swift==3.8.0) (2024.6.1)
Requirement already satisfied: huggingface-hub>=0.23.0 in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (0.29.1)
Requirement already satisfied: packaging in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from datasets<4.0,>=3.0->ms_swift==3.8.0) (24.2)
Collecting colorlog (from evalscope>=1.0.0->ms_swift==3.8.0)
  Using cached colorlog-6.9.0-py3-none-any.whl.metadata (10 kB)
Collecting datasets<4.0,>=3.0 (from ms_swift==3.8.0)
  Using cached datasets-3.6.0-py3-none-any.whl.metadata (19 kB)
Collecting docstring-parser (from evalscope>=1.0.0->ms_swift==3.8.0)
  Using cached docstring_parser-0.17.0-py3-none-any.whl.metadata (3.5 kB)
Collecting dotenv (from evalscope>=1.0.0->ms_swift==3.8.0)
  Using cached dotenv-0.9.9-py2.py3-none-any.whl.metadata (279 bytes)
Requirement already satisfied: jsonlines in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from evalscope>=1.0.0->ms_swift==3.8.0) (4.0.0)
Requirement already satisfied: langdetect in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from evalscope>=1.0.0->ms_swift==3.8.0) (1.0.9)
INFO: pip is looking at multiple versions of evalscope to determine which version is compatible with other requirements. This could take a while.
Collecting evalscope>=1.0.0 (from ms_swift==3.8.0)
  Using cached evalscope-1.0.0-py3-none-any.whl.metadata (39 kB)
Requirement already satisfied: immutabledict in /share/caibinquan-nfs/anaconda3/envs/ms-swift/lib/python3.9/site-packages (from evalscope>=1.0.0->ms_swift==3.8.0) (4.2.1)
ERROR: Cannot install ms_swift because these package versions have conflicting dependencies.

The conflict is caused by:
    evalscope 1.0.1 depends on latex2sympy2-extended
    evalscope 1.0.0 depends on latex2sympy2-extended

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

## 运行环境

- 操作系统：linux
- Python版本：3.10

## 其他信息

如果有其他相关信息，请在此处提供。


单独安装是否能成功：
```bash
pip install latex2sympy2-extended
```

> 感谢你的反馈！我们将关闭此问题。如果您有任何疑问，请随时重新打开它。如果EvalScope对您有所帮助，欢迎给我们点个STAR以示支持，谢谢！