aliyun / aliyun-oss-python-sdk

Aliyun OSS SDK for Python
MIT License
931 stars 363 forks source link

OSS2 multiple exception types must be parenthesized #360

Open h3clikejava opened 1 year ago

h3clikejava commented 1 year ago

Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import oss2 Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.10/dist-packages/oss2/init.py", line 3, in from . import models, exceptions, defaults File "/usr/local/lib/python3.10/dist-packages/oss2/models.py", line 9, in from . import utils File "/usr/local/lib/python3.10/dist-packages/oss2/utils.py", line 33, in from Crypto import Random File "/home/xxx/.local/lib/python3.10/site-packages/Crypto/Random/init.py", line 28, in from Crypto.Random import OSRNG File "/home/xxx/.local/lib/python3.10/site-packages/Crypto/Random/OSRNG/init.py", line 32, in from Crypto.Random.OSRNG.posix import new File "/home/xxx/.local/lib/python3.10/site-packages/Crypto/Random/OSRNG/posix.py", line 66 except IOError, e: ^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized