Title: How do I run the Phoenix miner script directly in Windows 7 x64? Post by: MegaBux on July 23, 2011, 08:28:47 PM I would like to run the Phoenix python script directly and test if there is any performance benefit to doing so. After installing Python 3.2 for Windows 7 x64, I run the following commands in the source directory containing phoenix.py and always get the same error:
Code: C:\users\me\downloads\phoenix-1.50\src>.\phoenix.py Code: C:\users\me\downloads\phoenix-1.50\src>.\phoenix.py -u http://user:pass@uswest.btcguild.com:8332 -k phatk Line 98 implies a connection error from the following source. Do I need to pass the url in a special manner on the command line? Code: def makeConnection(self, requester): Title: Re: How do I run the Phoenix miner script directly in Windows 7 x64? Post by: phelix on July 26, 2011, 11:20:08 AM I am very sure there will be no performance benefit from this.
Instaling all the libraries is a big pain in the a** but you can unzip the phoenix.exe with your favorite .zip program. it carries it's own python interpreter and all necessary libraries. Title: Re: How do I run the Phoenix miner script directly in Windows 7 x64? Post by: jedi95 on July 27, 2011, 03:35:34 PM I would like to run the Phoenix python script directly and test if there is any performance benefit to doing so. After installing Python 3.2 for Windows 7 x64, I run the following commands in the source directory containing phoenix.py and always get the same error: Phoenix is designed for Python 2.6/2.7. That is most likely the cause of your issue. Title: Re: How do I run the Phoenix miner script directly in Windows 7 x64? Post by: deepceleron on August 04, 2011, 07:11:10 AM Same problems here, there are no docs about the build versions at all. To get a suitable environment I finally installed:
Python 2.6.6 Python setuptools-0.6c12dev-r85381 Python 2.6 Base-11.5.23 Python 2.6 numpy-1.6.0 Python 2.6 scipy-0.7.1 Python 2.6 Twisted-10.1.0 Python 2.6 zope.interface-3.6.3 Most of those are pre-built here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy Then I installed boost libraries 1.42 (timedate, python, threads; multithreaded dll), and copied the boost_date_time-vc90-mt-1_42.dll, boost_python-vc90-mt-1_42.dll, and boost_thread-vc90-mt-1_42.dll to the windows\system32 directory added Python to the path, added a HOME environment variable. Installed full ATI Stream SDK 2.4. I then got the pyOpenCL 0.92 (the last version that doesn't complain about kernels using deprecated functions), and built and installed it using MSVC9. Multiple fails to come up with this as my siteconf.py: BOOST_INC_DIR = [r'C:\Program Files\boost\boost_1_42'] Or something like that... with all that, now I can run phoenix source. A step-by-step 'how to install python for phoenix.exe' would be many many steps, it would be nice if Jedi95 would just document building, especially how he makes the EXE since I have yet to duplicate the binary he distributes. Title: Re: How do I run the Phoenix miner script directly in Windows 7 x64? Post by: phelix on August 04, 2011, 02:06:35 PM I am happy I am not the only one having trouble getting all these libraries installed.
but: did you read my post above? should get you running from script in a minute... you can then also look through the code and compare it to the source jedi released if you feel like it. |