py-etherscan-api icon indicating copy to clipboard operation
py-etherscan-api copied to clipboard

setup script doesnt work on python3.6

Open chppppp opened this issue 5 years ago • 2 comments

i run python3 setup.py install and then

asdasd@frickyou:~/etherscan$ python3 etherscan.py 
Traceback (most recent call last):
  File "etherscan.py", line 1, in <module>
    from etherscan.contracts import Contract
  File "/home/asdasd/etherscan/etherscan.py", line 1, in <module>
    from etherscan.contracts import Contract
ModuleNotFoundError: No module named 'etherscan.contracts'; 'etherscan' is not a package

chppppp avatar Sep 04 '20 17:09 chppppp

apparently you have to work within the folder, the pip package doesnt actually install globally or something.

chppppp avatar Sep 04 '20 17:09 chppppp

try pip install . @chppppp

pcko1 avatar Sep 17 '20 11:09 pcko1