pyauth / pyotp

Python One-Time Password Library
https://pyauth.github.io/pyotp/
Other
2.95k stars 321 forks source link

AttributeError: 'module' object has no attribute 'TOTP' #105

Closed jayesh-stayflexi closed 4 years ago

jayesh-stayflexi commented 4 years ago

Please help me to solve this. totp = pyotp.TOTP('base32secret3232') AttributeError: 'module' object has no attribute 'TOTP'

kislyuk commented 4 years ago

Thanks for your interest in PyOTP. If you need help, please provide a complete description of how to reproduce the issue, including your version of Python, the method you used to install PyOTP, and the code that you ran when it produced the error.

Check if you have a pyotp directory or pyotp.py file in the current directory shadowing the installed pyotp module.