Repository: modelscope/evalscope
Issue: conda 创建py310环境，pip install evalscope[all] 安装依赖包时编译出现错误，未安装成功
Root cause: External Dependency Breakage

## 自查清单

在提交 issue 之前，请确保您已完成以下步骤:
- [ ] 我已仔细阅读了[相关使用说明文档](https://evalscope.readthedocs.io/zh-cn/latest/get_started/parameters.html)
- [ ] 我已查看了[常见问题解答](https://evalscope.readthedocs.io/zh-cn/latest/get_started/faq.html)
- [ ] 我已搜索并查看了现有的 issues，确认这不是一个重复的问题

## 问题描述

请简要描述您遇到的问题。

## EvalScope 版本（必填）
v0.xx.x

## 使用的工具
- [ ] Native / 原生框架
- [ ] Opencompass backend
- [ ] VLMEvalKit backend
- [ ] RAGEval backend
- [ ] Perf / 模型推理压测工具
- [ ] Arena / 竞技场模式

## 执行的代码或指令

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

Collecting fuzzywuzzy (from ms-opencompass>=0.1.6->evalscope[all])
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d8/f1/5a267addb30ab7eaa1beab2b9323073815da4551076554ecc890a3595ec9/fuzzywuzzy-0.17.0-py2.py3-none-any.whl (13 kB)
Collecting func-timeout (from ms-opencompass>=0.1.6->evalscope[all])
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c7/d2/84831aae4d42abceba4d5c0a887830811fe93ef2fe64daec7733087f9182/func_timeout-4.3.4.tar.gz (41 kB)
  Preparing metadata (setup.py) ... done
Collecting filelock (from datasets>=3.0->evalscope[all])
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/89/ec/00d68c4ddfedfe64159999e5f8a98fb8442729a63e2077eb9dcd89623d27/filelock-3.17.0-py3-none-any.whl (16 kB)
Collecting ffmpy (from gradio==5.4.0->evalscope[all])
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/53/5d/65f40bd333463b3230b3a72d93873caaf49b0cbb5228598fafb75fcc5357/ffmpy-0.5.0-py3-none-any.whl (6.0 kB)
Collecting einops (from ms-opencompass>=0.1.6->evalscope[all])
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/44/5a/f0b9ad6c0a9017e62d4735daaeb11ba3b6c009d69a26141b258cd37b5588/einops-0.8.0-py3-none-any.whl (43 kB)
Collecting dotenv (from ms-vlmeval>=0.0.17->evalscope[all])
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e2/46/3754073706e31670eed18bfa8a879305b56a471db15f20523c2427b10078/dotenv-0.0.5.tar.gz (2.4 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [73 lines of output]
      /opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.

              By 2025-Oct-31, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
        error: subprocess-exited-with-error

        × python setup.py egg_info did not run successfully.
        │ exit code: 1
        ╰─> [16 lines of output]
            Traceback (most recent call last):
              File "<string>", line 2, in <module>
              File "<pip-setuptools-caller>", line 14, in <module>
              File "/tmp/pip-wheel-pe5eem2c/distribute_182fca0196b14da393f5d55837fa4056/setuptools/__init__.py", line 2, in <module>
                from setuptools.extension import Extension, Library
              File "/tmp/pip-wheel-pe5eem2c/distribute_182fca0196b14da393f5d55837fa4056/setuptools/extension.py", line 5, in <module>
                from setuptools.dist import _get_unpatched
              File "/tmp/pip-wheel-pe5eem2c/distribute_182fca0196b14da393f5d55837fa4056/setuptools/dist.py", line 7, in <module>
                from setuptools.command.install import install
              File "/tmp/pip-wheel-pe5eem2c/distribute_182fca0196b14da393f5d55837fa4056/setuptools/command/__init__.py", line 8, in <module>
                from setuptools.command import install_scripts
              File "/tmp/pip-wheel-pe5eem2c/distribute_182fca0196b14da393f5d55837fa4056/setuptools/command/install_scripts.py", line 3, in <module>
                from pkg_resources import Distribution, PathMetadata, ensure_directory
              File "/tmp/pip-wheel-pe5eem2c/distribute_182fca0196b14da393f5d55837fa4056/pkg_resources.py", line 1518, in <module>
                register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
            AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: metadata-generation-failed

      × Encountered error while generating package metadata.
      ╰─> See above for output.

      note: This is an issue with the package mentioned above, not pip.
      hint: See above for details.
      Traceback (most recent call last):
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/installer.py", line 121, in _fetch_build_egg_no_warn
          subprocess.check_call(cmd)
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/opt/miniconda/envs/evalscope_new/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpckvr9umf', '--quiet', 'distribute']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 35, in <module>
        File "/tmp/pip-install-cf6_xvm0/dotenv_582d27c083124e058c02f94882a87c5f/setup.py", line 13, in <module>
          setup(name='dotenv',
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/__init__.py", line 114, in setup
          _install_setup_requires(attrs)
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/__init__.py", line 92, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/dist.py", line 766, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/installer.py", line 54, in _fetch_build_eggs
          resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in needed_reqs]
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/installer.py", line 54, in <listcomp>
          resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in needed_reqs]
        File "/opt/miniconda/envs/evalscope_new/lib/python3.10/site-packages/setuptools/installer.py", line 123, in _fetch_build_egg_no_warn
          raise DistutilsError(str(e)) from e
      distutils.errors.DistutilsError: Command '['/opt/miniconda/envs/evalscope_new/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpckvr9umf', '--quiet', 'distribute']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

请粘贴完整的错误日志或控制台输出。

## 运行环境

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

## 其他信息

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


先安装`pip install dotenv`，再执行全部安装，能否解决问题

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