它在我的服务器上运行良好,但是在执行本地 MacOS 时brownie run scripts/price_feed_scripts/01_deploy_price_consumer_v3.py --network development
,它显示:
Launching 'ganache-cli --accounts 10 --hardfork istanbul --gasLimit 12000000 --mnemonic brownie --port 8545'...
Terminating local RPC client...
File "brownie/_cli/__main__.py", line 64, in main
importlib.import_module(f"brownie._cli.{cmd}").main()
File "brownie/_cli/run.py", line 43, in main
network.connect(CONFIG.argv["network"])
File "brownie/network/main.py", line 50, in connect
rpc.launch(active["cmd"], **active["cmd_settings"])
File "brownie/network/rpc/__init__.py", line 97, in launch
raise RPCConnectionError(cmd, self.process, uri)
File "brownie/exceptions.py", line 41, in __init__
f"\n\nCommand: {cmd}\nURI: {uri}\nExit Code: {proc.poll()}"
AttributeError: 'NoneType' object has no attribute 'poll'