corpetty / py-etherscan-api

Python bindings to the Etherscan.io API
MIT License
511 stars 247 forks source link

setup script doesnt work on python3.6 #85

Open chppppp opened 4 years ago

chppppp commented 4 years ago

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 commented 4 years ago

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

pcko1 commented 4 years ago

try pip install . @chppppp