Bitcoin Forum
May 11, 2024, 10:23:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running Phoenix.py on a Mac?  (Read 867 times)
drfuzzy (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile WWW
July 13, 2011, 10:37:24 PM
 #1

Help...

I've downloaded, compiled and installed PyOpenCL (version 2011-1.1).  It works fine with poclbm-mod.py

Twisted is supposed to be included with MacOSX 10.6 (and can't be upgraded by users w/o serious breakage).

BUT... when I run Phoenix, I get an import error:

------------------------------------
[~/Library/Miners] fuzzy% cd phoenix-1.50

[~/Library/Miners/phoenix-1.50] fuzzy% ls
ConsoleLogger.py   Miner.py      WorkQueue.py      minerutil
KernelInterface.py   QueueReader.py      kernels         phoenix.py

[~/Library/Miners/phoenix-1.50] fuzzy% python --version
Python 2.6.1

[~/Library/Miners/phoenix-1.50] fuzzy% python -c "import numpy; print numpy.version.version"
1.2.1

[~/Library/Miners/phoenix-1.50] fuzzy% ./phoenix.py
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
Traceback (most recent call last):
  File "./phoenix.py", line 29, in <module>
    import minerutil
  File "/Users/fuzzy/Library/Miners/phoenix-1.50/minerutil/__init__.py", line 25, in <module>
    from RPCProtocol import RPCClient
  File "/Users/fuzzy/Library/Miners/phoenix-1.50/minerutil/RPCProtocol.py", line 26, in <module>
    from twisted.web.iweb import IBodyProducer
ImportError: cannot import name IBodyProducer

-------------------------------------

Any ideas?

--Fuzzy


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!