ethereum / web3.py

A python interface for interacting with the Ethereum blockchain and ecosystem.
http://web3py.readthedocs.io
MIT License
5k stars 1.7k forks source link

can we run this with python2 #3283

Closed ywl19891989 closed 7 months ago

ywl19891989 commented 7 months ago
can we run this with python2

What was wrong?

Please include any of the following that are applicable:

How can it be fixed?

Fill this section in if you know how this could or should be fixed.


Note: We prefer to use issues to track our work. If you think you've encountered a bug in web3py or have a feature request, you're in the right place. If you have implementation or usage questions, please refer to our documentation and/or join the conversation on discord.

pacrob commented 7 months ago

web3.py does not officially support anything earlier than python 3.7, soon to be 3.8. Earlier versions of python 3 may still be mostly functional, but I doubt it would work with python 2.

web3.py<4 did support python 2, so if that's your only option you could try it, but a LOT has changed in the library since then.