Ethereum 无法在Geth中运行eth.getCompilers()

Ethereum 无法在Geth中运行eth.getCompilers(),ethereum,Ethereum,我正在玩Geth和以太坊,并试图安装solc。我尝试了npm install solc以及brew install solidity——第一个成功了,第二个挂起了。无论如何,当我在mac OSX中启动Geth控制台并尝试运行eth.getCompilers()时,我不断收到以下错误: Error: The method eth_getCompilers does not exist/is not available at web3.js:3104:20 at web3.js:6191:15 at

我正在玩Geth和以太坊,并试图安装solc。我尝试了
npm install solc
以及
brew install solidity
——第一个成功了,第二个挂起了。无论如何,当我在mac OSX中启动Geth控制台并尝试运行
eth.getCompilers()
时,我不断收到以下错误:

Error: The method eth_getCompilers does not exist/is not available
at web3.js:3104:20
at web3.js:6191:15
at web3.js:5004:36
at <anonymous>:1:1
错误:eth_getCompilers方法不存在/不可用
在web3.js:3104:20
在web3.js:6191:15
在web3.js:5004:36
时间:1:1
请帮忙

谢谢, 劳拉

方法eth.getComilers()已在以太坊1.6.0中使用。看看这个: