Skip to content

NameError: name 'exit' is not defined #22

@AlanZZhao

Description

@AlanZZhao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions