Closed marcelkb closed 10 months ago
@marcelkb what's your eth-abi
version? Can you run pip install --upgrade eth-abi
and try again?
@fselmo eth-abi is 4.1.0 testet it with upgrade to 4.2.1 still same error
Interesting. eth-abi
requires a pin for parsimonious below version 0.10.0
. I believe this is the version that includes some breaking changes. Perhaps one of the other libraries in your current python packages requires this higher parsimonious version but it won't work with the web3 library suite.
I'd suggest first checking that parsimonious
is below version 0.10.0
, meaning the highest it can be is 0.9.0
. I was able to reproduce this error with the latest parsimonious
version, for example.
Secondly, I'd suggest using a fresh virtual environment for your python web3 project and pip install web3
cleanly there.
pip install parsimonious==0.9.0
should resolve this with your current setup though.
Closing this as stale. web3.py has been working with python 3.11 for quite some time now. If you are still having issues and believe that it is an issue with the library, please define them more clearly and open another github issue for it. Best of luck.
What was wrong?
Code which works on Phyton 3.10 on Polygon and Etherum dont work with Phyton 3.11. get_transaction_count fails.