Repository: open-compass/opencompass
Issue: 运行报错，似乎和openssl有关[Bug] 
Root cause: External Dependency Breakage

### Prerequisite

- [X] I have searched [Issues](https://github.com/InternLM/opencompass/issues/) and [Discussions](https://github.com/InternLM/opencompass/discussions) but cannot get the expected help.
- [X] The bug has not been fixed in the [latest version](https://github.com/InternLM/opencompass).

### Type

I'm evaluating with the officially supported tasks/models/datasets.

### Environment

环境正常安装。

### Reproduces the problem - code/configuration sample

1

### Reproduces the problem - command or script

1

### Reproduces the problem - error message

1

### Other information

/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/mmengine/utils/manager.py:113: UserWarning: <class 'mmengine.logging.logger.MMLogger'> instance named of OpenCompass has been created, the method `get_instance` should not accept any other arguments
  warnings.warn(
Traceback (most recent call last):
  File "run.py", line 378, in <module>
    main()
  File "run.py", line 227, in main
    tasks = partitioner(cfg)
  File "/mnt/workspace/project/opencompass/opencompass/partitioners/base.py", line 48, in __call__
    tasks = self.partition(models, datasets, work_dir, self.out_dir)
  File "/mnt/workspace/project/opencompass/opencompass/partitioners/size.py", line 67, in partition
    datasets = sorted(datasets,
  File "/mnt/workspace/project/opencompass/opencompass/partitioners/size.py", line 68, in <lambda>
    key=lambda x: self.get_cost(x),
  File "/mnt/workspace/project/opencompass/opencompass/partitioners/size.py", line 188, in get_cost
    dataset = build_dataset_from_cfg(dataset)
  File "/mnt/workspace/project/opencompass/opencompass/utils/build.py", line 13, in build_dataset_from_cfg
    return LOAD_DATASET.build(dataset_cfg)
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 98, in build_from_cfg
    obj_cls = registry.get(obj_type)
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/mmengine/registry/registry.py", line 451, in get
    self.import_from_location()
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/mmengine/registry/registry.py", line 376, in import_from_location
    import_module(loc)
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/mnt/workspace/project/opencompass/opencompass/datasets/__init__.py", line 1, in <module>
    from .advglue import *  # noqa: F401, F403
  File "/mnt/workspace/project/opencompass/opencompass/datasets/advglue.py", line 6, in <module>
    from opencompass.openicl.icl_evaluator import AccEvaluator
  File "/mnt/workspace/project/opencompass/opencompass/openicl/__init__.py", line 2, in <module>
    from .icl_evaluator import *  # noqa
  File "/mnt/workspace/project/opencompass/opencompass/openicl/icl_evaluator/__init__.py", line 4, in <module>
    from .icl_hf_evaluator import *  # noqa
  File "/mnt/workspace/project/opencompass/opencompass/openicl/icl_evaluator/icl_hf_evaluator.py", line 4, in <module>
    import evaluate
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/evaluate/__init__.py", line 29, in <module>
    from .evaluation_suite import EvaluationSuite
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/evaluate/evaluation_suite/__init__.py", line 10, in <module>
    from ..evaluator import evaluator
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/evaluate/evaluator/__init__.py", line 17, in <module>
    from transformers.pipelines import SUPPORTED_TASKS as SUPPORTED_PIPELINE_TASKS
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/transformers/pipelines/__init__.py", line 44, in <module>
    from .audio_classification import AudioClassificationPipeline
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/transformers/pipelines/audio_classification.py", line 21, in <module>
    from .base import PIPELINE_INIT_ARGS, Pipeline
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/transformers/pipelines/base.py", line 35, in <module>
    from ..modelcard import ModelCard
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/transformers/modelcard.py", line 48, in <module>
    from .training_args import ParallelMode
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/transformers/training_args.py", line 67, in <module>
    from accelerate.state import AcceleratorState, PartialState
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/__init__.py", line 3, in <module>
    from .accelerator import Accelerator
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/accelerator.py", line 35, in <module>
    from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/checkpointing.py", line 24, in <module>
    from .utils import (
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/utils/__init__.py", line 133, in <module>
    from .launch import (
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/utils/launch.py", line 23, in <module>
    from ..commands.config.config_args import SageMakerConfig
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/commands/config/__init__.py", line 19, in <module>
    from .config import config_command_parser
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/commands/config/config.py", line 25, in <module>
    from .sagemaker import get_sagemaker_input
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/accelerate/commands/config/sagemaker.py", line 35, in <module>
    import boto3  # noqa: F401
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/boto3/__init__.py", line 17, in <module>
    from boto3.session import Session
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/boto3/session.py", line 17, in <module>
    import botocore.session
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/session.py", line 26, in <module>
    import botocore.client
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/client.py", line 15, in <module>
    from botocore import waiter, xform_name
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/waiter.py", line 18, in <module>
    from botocore.docs.docstring import WaiterDocstring
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/docs/__init__.py", line 15, in <module>
    from botocore.docs.service import ServiceDocumenter
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/docs/service.py", line 14, in <module>
    from botocore.docs.client import ClientDocumenter, ClientExceptionsDocumenter
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/docs/client.py", line 17, in <module>
    from botocore.docs.example import ResponseExampleDocumenter
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/docs/example.py", line 13, in <module>
    from botocore.docs.shape import ShapeDocumenter
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/docs/shape.py", line 19, in <module>
    from botocore.utils import is_json_value_header
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/utils.py", line 37, in <module>
    import botocore.httpsession
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/botocore/httpsession.py", line 45, in <module>
    from urllib3.contrib.pyopenssl import (
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
    import OpenSSL.SSL
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/OpenSSL/crypto.py", line 1517, in <module>
    class X509StoreFlags(object):
  File "/mnt/workspace/opt/anaconda3/lib/python3.8/site-packages/OpenSSL/crypto.py", line 1537, in X509StoreFlags
    CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

似乎和Opencompass 无关的报错，可以查看一下 https://stackoverflow.com/questions/73830524/attributeerror-module-lib-has-no-attribute-x509-v-flag-cb-issuer-check