pycrypto / pycrypto

The Python Cryptography Toolkit
https://www.pycrypto.org/
Other
2.46k stars 636 forks source link

NameError: name 'sys' is not defined #205

Open wojtek-fliposports opened 8 years ago

wojtek-fliposports commented 8 years ago
  File "/opt/python/run/venv/lib64/python3.4/site-packages/Crypto/Signature/PKCS1_PSS.py", line 70, in <module>
    if sys.version_info[0] == 2 and sys.version_info[1] == 1:
NameError: name 'sys' is not defined

missing import sys

nedbat commented 7 years ago

This is a duplicate of #198.

arpan-ghosh commented 6 years ago

did anyone ever figure this out? i'm encountering the same problem