Skip to content

Multiple exception types must be parenthesized error #30

Description

When I run import simplecrypt in my python file. It encounters an error saying:

File "/home/codespace/.python/current/lib/python3.10/site-packages/simplecrypt/__init__.py", line 5, in <module>
    from Crypto.Random.random import getrandbits
File "/home/codespace/.python/current/lib/python3.10/site-packages/Crypto/Random/__init__.py", line 28, in <module>
    from Crypto.Random import OSRNG
File "/home/codespace/.python/current/lib/python3.10/site-packages/Crypto/Random/OSRNG/__init__.py", line 32, in <module>
    from Crypto.Random.OSRNG.posix import new
File "/home/codespace/.python/current/lib/python3.10/site-packages/Crypto/Random/OSRNG/posix.py", line 66
    except IOError, e:
           ^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

Any help would be appreciated 👍🏻

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions