You have another file that is called stripe.py
, so this file is getting imported instead of the stripe
library.
Here's how you fix this:
- Rename your
stripe.py
file to something different - Remove
stripe.pyc
if it exists (mind thec
)
Said file is on your desktop: /Users/sebastian/Desktop/stripe.py
.