使用默认安装在OSX上的python,我尝试运行phoenix https://en.bitcoin.it/wiki/Phoenix_miner 我得到了:
python phoenix.py
import itertools, md5
Traceback (most recent call last):
File "phoenix.py", line 29, in <module>
import minerutil
File "/Users/george/Downloads/phoenix-1.4/minerutil/__init__.py", line 25, in <module>
from RPCProtocol import RPCClient
File "/Users/george/Downloads/phoenix-1.4/minerutil/RPCProtocol.py", line 30, in <module>
from twisted.web.iweb import IBodyProducer
ImportError: cannot import name IBodyProducer
有人能告诉我怎么继续吗?在
我安装了MacPorts,将python27安装到/opt/local/bin/python,下载Twisted-11.0.0源代码,并使用python27编译它。我也从源代码编译并安装了pyopencl,现在可以运行了凤凰城.py,在Mac 10.6.6上。在
你可能需要升级Twisted的版本。11.0应该行得通;对我来说的确是。试试看
[这假设easy_install将使用系统python。如果它处于奇怪的状态,请尝试
sudo python_version path_to_easy_install upgrade twisted
。]相关问题 更多 >
编程相关推荐