namaggarwal / splitwise

Python SDK for Splitwise
MIT License
180 stars 45 forks source link

ImportError: cannot import name Splitwise #19

Closed maxrugen closed 6 years ago

maxrugen commented 6 years ago

Hey guys,

while executing a file splitwise.py containing import splitwise as Splitwise with python splitwise.py, I ran into an issue I did not quite understand. My terminal outputs the following:

Traceback (most recent call last):
  File "splitwise.py", line 1, in <module>
    from splitwise import Splitwise
  File "/Users/maxrugen/splitwise/splitwise.py", line 1, in <module>
    from splitwise import Splitwise
ImportError: cannot import name 'Splitwise'

Any ideas what might cause this? I looked the ImportError up on StackOverflow here but didn't quite get how that issue might be reflected in my case.

maxrugen commented 6 years ago

I'm blind. Didn't see the requirements.txt file. Excuse me.