Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main分支Arena Mode代码运行报错 #286

Open
VirPlayer opened this issue Jan 18, 2025 · 2 comments
Open

main分支Arena Mode代码运行报错 #286

VirPlayer opened this issue Jan 18, 2025 · 2 comments

Comments

@VirPlayer
Copy link

VirPlayer commented Jan 18, 2025

问题描述 / Issue Description

使用竞技场模式的时候,运行报错,貌似是re模块循环调用,切换为0.8.2版本没有该错误

使用的工具 / Tools Used

  • Arena /竞技场模式

执行的代码或指令 / Code or Commands Executed

python evalscope/run_arena.py --c registry/config/cfg_single.yaml

错误日志 / Error Log

Traceback (most recent call last):
File "/home/xxx/work/xxx/evalscope/evalscope/run_arena.py", line 4, in
import argparse
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/argparse.py", line 89, in
import re as _re
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/re.py", line 127, in
import functools
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/functools.py", line 18, in
from collections import namedtuple
File "/home/xxx/work/xxx/evalscope/evalscope/collections/init.py", line 1, in
from evalscope.collections.evaluator import EvaluatorCollection
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/site-packages/evalscope/init.py", line 3, in
from evalscope.config import TaskConfig
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/site-packages/evalscope/config.py", line 4, in
import json
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/json/init.py", line 106, in
from .decoder import JSONDecoder, JSONDecodeError
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/json/decoder.py", line 5, in
from json import scanner
File "/home/xxx/miniconda3/envs/evalscope/lib/python3.10/json/scanner.py", line 11, in
NUMBER_RE = re.compile(
AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import)


## 运行环境 / Runtime Environment

- 操作系统 / Operating System:
  - linux-x86

- Python版本 / Python Version:
  - 3.10


## 其他信息 / Additional Information

如果有其他相关信息,请在此处提供。 / If there is any other relevant information, please provide it here.
@Yunnglin
Copy link
Collaborator

Arena Mode 有较长时间没有更新了,可能有部分代码不兼容,可以尝试使用v0.7.0版本

@VirPlayer
Copy link
Author

Arena Mode 有较长时间没有更新了,可能有部分代码不兼容,可以尝试使用v0.7.0版本

欧克欧克

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants