opencompass icon indicating copy to clipboard operation
opencompass copied to clipboard

[Bug] 不支持python3.10以上安装

Open rangehow opened this issue 8 months ago • 3 comments

先决条件

  • [X] 我已经搜索过 问题讨论 但未得到预期的帮助。
  • [X] 错误在 最新版本 中尚未被修复。

问题类型

我正在使用官方支持的任务/模型/数据集进行评估。

环境

python 3.11

重现问题 - 代码/配置示例

.

重现问题 - 命令或脚本

pip install opencompass

重现问题 - 错误信息

Collecting pyext (from opencompass) Using cached pyext-0.7.tar.gz (7.8 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [9 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/data/ruanjh/tmp/pip-install-oxjvkmov/pyext_7fd78ecb368043fd8e5011c0ea165836/setup.py", line 6, in import pyext File "/data/ruanjh/tmp/pip-install-oxjvkmov/pyext_7fd78ecb368043fd8e5011c0ea165836/pyext.py", line 117, in oargspec = inspect.getargspec ^^^^^^^^^^^^^^^^^^ AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'? [end of output]

其他信息

如何在python3.10+的版本上使用opencompass?

rangehow avatar Jun 10 '24 15:06 rangehow