Go to https[Suspicious link removed]#md5=31ef47dc10ff13a81a0cb8e6a98a0819
Download 'WMI-1.4.9.win32.exe (md5)'
Install WMI
Go to https://github.com/develersrl/gccwinbinaries/releases
Click the green button 'gcc-mingw-4.3.3-setup.exe'
Run the installer.
Make sure to select the radio button 'Link with MSVCR90.DLL'
Go to https[Suspicious link removed]/download
Download 'pywin32-218.win32-py2.7.exe'
Install pywin32
Open a new command prompt
CD to p2pool file save location and into the subfolder litecoin_scrypt
cd /p2pool-ltc/litecoin_scrypt
Run the following:
setup.py build --compile=mingw32 install
If you do not already have Litecoin-qt installed/running, create a litecoin.conf file using a text editor, otherwise modify your existing .conf file as shown:
CD to %appdata%/litecoincoin/ (for win7)
cd %appdata%/litecoin/
notepad litecoin.conf
Bei dem Punkt Setup.py build ... erscheint die oben aufgeführte Fehlermeldung. Die Installation wird mit Admin-Rechten durchgeführt.
Starte ich die run_p2pool.py nach der fehlgeschlagenen Installation von mingw32, dann erscheint folgendes:
2015-09-10 16:00:08.027000
2015-09-10 16:00:08.027000 Loading shares...
2015-09-10 16:00:08.028000 ...done loading 0 shares (0 verified)!
2015-09-10 16:00:08.028000
2015-09-10 16:00:08.028000 Initializing work...
2015-09-10 16:00:08.136000 > Unhandled error in Deferred:
2015-09-10 16:00:08.138000 > Unhandled Error
2015-09-10 16:00:08.138000 > Traceback (most recent call last):
2015-09-10 16:00:08.138000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 382, in callback
2015-09-10 16:00:08.138000 > self._startRunCallbacks(result)
2015-09-10 16:00:08.139000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 490, in _startRunCallbacks
2015-09-10 16:00:08.139000 > self._runCallbacks()
2015-09-10 16:00:08.140000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2015-09-10 16:00:08.140000 > current.result = callback(current.result, *args
, **kw)
2015-09-10 16:00:08.140000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2015-09-10 16:00:08.141000 > _inlineCallbacks(r, g, deferred)
2015-09-10 16:00:08.141000 > ---
2015-09-10 16:00:08.141000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2015-09-10 16:00:08.142000 > result = g.send(result)
2015-09-10 16:00:08.142000 > File "C:\P2Pool-BQC\p2pool-altcoins-master\p2pool
\node.py", line 210, in poll_header
2015-09-10 16:00:08.142000 > handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2015-09-10 16:00:08.142000 > File "C:\P2Pool-BQC\p2pool-altcoins-master\p2pool
\node.py", line 192, in handle_header
2015-09-10 16:00:08.143000 > if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2015-09-10 16:00:08.143000 > File "C:\P2Pool-BQC\p2pool-altcoins-master\p2pool
\bitcoin\networks.py", line 232, in
2015-09-10 16:00:08.143000 > POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2015-09-10 16:00:08.144000 > exceptions.ImportError: No module named ltc_scrypt
2015-09-10 16:00:08.146000 > Error while requesting best block header:
2015-09-10 16:00:08.147000 > Traceback (most recent call last):
2015-09-10 16:00:08.147000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2015-09-10 16:00:08.147000 > current.result = callback(current.result, *args
, **kw)
2015-09-10 16:00:08.147000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2015-09-10 16:00:08.148000 > _inlineCallbacks(r, g, deferred)
2015-09-10 16:00:08.148000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1097, in _inlineCallbacks
2015-09-10 16:00:08.148000 > result = result.throwExceptionIntoGenerator(g)
2015-09-10 16:00:08.149000 > File "C:\Python27\lib\site-packages\twisted\pytho
n\failure.py", line 389, in throwExceptionIntoGenerator
2015-09-10 16:00:08.149000 > return g.throw(self.type, self.value, self.tb)
2015-09-10 16:00:08.149000 > ---
2015-09-10 16:00:08.149000 > File "C:\P2Pool-BQC\p2pool-altcoins-master\p2pool
\util\deferral.py", line 41, in f
2015-09-10 16:00:08.150000 > result = yield func(*args, **kwargs)
2015-09-10 16:00:08.150000 > File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2015-09-10 16:00:08.150000 > result = g.send(result)
2015-09-10 16:00:08.150000 > File "C:\P2Pool-BQC\p2pool-altcoins-master\p2pool
\node.py", line 210, in poll_header
2015-09-10 16:00:08.151000 > handle_header((yield self.factory.conn.value.ge
Somit ist die "Kompilierung" von mingw anscheinend notwendig, weil andere P2Pools auf dem Server laufen, somit grundsätzlich kein Installationsproblem zu sein.
Vielen Dank.