python-sdk
python-sdk copied to clipboard
AttributeError: 'NamedElementOnion' object has no attribute 'middleware'
Hello! Whenever I try using get_market_module, get_nft_module and get_token_module I get AttributeError: 'NamedElementOnion' object has no attribute 'middleware'. Would someone kindly help solve this issue? Thanks!
Which python package manager are you using? I fixed this by specifying web3==5.28.0 in my pip requirements.txt.
Thanks I will look into this and check it out!