Skip to content

ImportError: cannot import name 'resources' #24

@kennethkenneth

Description

@kennethkenneth

I get the following error when using the library:

$ python3 run_script.py
Traceback (most recent call last):
  File "run_script.py", line 1, in <module>
    from etherscan.accounts import Account
  File "/home/ubuntu/.local/lib/python3.6/site-packages/etherscan/__init__.py", line 1, in <module>
    from .etherscan import Etherscan
  File "/home/ubuntu/.local/lib/python3.6/site-packages/etherscan/etherscan.py", line 2, in <module>
    from importlib import resources
ImportError: cannot import name 'resources'

I use python 3.6 and installed the library with pip3 install etherscan-python.

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