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
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.