"执行
import modelscope.msdatasets
这行代码,modelscope的版本是1.16
报下面的错
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/init.py"", line 2, in
from .ms_dataset import MsDataset
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/ms_dataset.py"", line 16, in
from modelscope.msdatasets.data_loader.data_loader_manager import (
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/data_loader/data_loader_manager.py"", line 12, in
from modelscope.msdatasets.data_loader.data_loader import OssDownloader
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/data_loader/data_loader.py"", line 15, in
from modelscope.msdatasets.data_files.data_files_manager import \
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/data_files/data_files_manager.py"", line 11, in
from modelscope.msdatasets.download.dataset_builder import (
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/download/dataset_builder.py"", line 24, in
from modelscope.msdatasets.download.download_manager import \
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/download/download_manager.py"", line 9, in
from modelscope.msdatasets.utils.oss_utils import OssUtilities
File ""/home/ai/.local/lib/python3.12/site-packages/modelscope/msdatasets/utils/oss_utils.py"", line 7, in
import oss2
File ""/home/ai/.local/lib/python3.12/site-packages/oss2/init.py"", line 3, in
from . import models, exceptions, defaults
File ""/home/ai/.local/lib/python3.12/site-packages/oss2/models.py"", line 9, in
from . import utils
File ""/home/ai/.local/lib/python3.12/site-packages/oss2/utils.py"", line 33, in
from Crypto import Random
File ""/home/ai/.local/lib/python3.12/site-packages/Crypto/Random/init.py"", line 28, in
from Crypto.Random import OSRNG
File ""/home/ai/.local/lib/python3.12/site-packages/Crypto/Random/OSRNG/init.py"", line 32, in
from Crypto.Random.OSRNG.posix import new
File ""/home/ai/.local/lib/python3.12/site-packages/Crypto/Random/OSRNG/posix.py"", line 66
except IOError, e:
^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
是什么原因?"
ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352