Closed theref closed 2 years ago
@theref I really appreciate the PR.
The intention was to avoid requiring web3 because it's kind of a "heavy lift" for installation and it's not really required for the core operation of things. It's kind of a luxury.
the code there in that spot where you got that failure is written like
try:
import web3
except ImportError:
self.emitter.echo("web3 must be installed to use this functionality ('pip install web3')")
w3 = web3.Web3(web3.Web3.HTTPProvider(provider))
return method(self, w3, *args, **kwargs)
I think I need to look for something more than just ImportError?
Ah ok, i think it's a ModuleNotFoundError
Yep, just tested it.
Also, I actually need to stop execution after the error message... right now it just continues on and discovers the UnboundLocalError
When running
nucypher-ops ursula defund
I got: