corpetty/py-etherscan-api

NameError: name 'exit' is not defined

AlanZZhao opened this issue · 3 comments

Not sure why I keep getting this error. Python 3.6 with anaconda. Cannot use your library at all, suspect it must be a problem on my end.

All steps followed in install. Etherscan online shows token-key activity as well.

  File "<ipython-input-6-566c096a6c11>", line 1, in <module>
    transactions = api.get_all_transactions()

  File "/Users/alanzhao/anaconda3/lib/python3.6/site-packages/etherscan/accounts.py", line 78, in get_all_transactions
    req = self.connect()

  File "/Users/alanzhao/anaconda3/lib/python3.6/site-packages/etherscan/client.py", line 93, in connect
    exit()

NameError: name 'exit' is not defined
1vash commented

the same error , have you solved it?

This pull request should fix it #23

Merged to solve. thanks for contributing.