python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

AttributeError: 'NamedElementOnion' object has no attribute 'middleware'

Open Idanlau opened this issue 3 years ago • 2 comments

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!

Idanlau avatar Feb 05 '22 18:02 Idanlau

Which python package manager are you using? I fixed this by specifying web3==5.28.0 in my pip requirements.txt.

arshamg avatar Feb 12 '22 17:02 arshamg

Thanks I will look into this and check it out!

Idanlau avatar Feb 14 '22 10:02 Idanlau