corpetty/py-etherscan-api

def get_transaction_page - SyntaxError: invalid syntax

x011 opened this issue · 1 comments

x011 commented

Hi getting the following error while install using python 2.7.5:


byte-compiling /usr/lib/python2.7/site-packages/etherscan/accounts.py to accounts.pyc
  File "/usr/lib/python2.7/site-packages/etherscan/accounts.py", line 24
    def get_transaction_page(self, page=1, offset=10000, sort='asc', internal=False) -> list:
                                                                                     ^
SyntaxError: invalid syntax

These bindings are only compatible with python3, sorry. I will update the readme with that info.