I need stratum-mining-proxy, the problem about install stratum-mining-proxy at 5th step:
user@M8400t:~/stratum-mining-proxy$ sudo python setup.py develop
/home/user/stratum-mining-proxy/distribute_setup.py:139: UserWarning: Module distribute_setup was already imported from /home/user/stratum-mining-proxy/distribute_setup.py, but /usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg is being added to sys.path
import pkg_resources
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
creating stratum_mining_proxy.egg-info
writing requirements to stratum_mining_proxy.egg-info/requires.txt
writing stratum_mining_proxy.egg-info/PKG-INFO
writing top-level names to stratum_mining_proxy.egg-info/top_level.txt
writing dependency_links to stratum_mining_proxy.egg-info/dependency_links.txt
writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt'
reading manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt'
writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt'
running build_ext
building 'midstate' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/midstatec
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/usr/include/python2.7 -c midstatec/midstatemodule.c -o build/temp.linux-x86_64-2.7/midstatec/midstatemodule.o -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -fPIC -shared
creating build/lib.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/midstatec/midstatemodule.o -lpython2.7 -o build/lib.linux-x86_64-2.7/midstate.so -Wl,-O1 -Wl,--as-needed
copying build/lib.linux-x86_64-2.7/midstate.so ->
Creating /usr/local/lib/python2.7/dist-packages/stratum-mining-proxy.egg-link (link to .)
stratum-mining-proxy 1.5.7 is already the active version in easy-install.pth
Installing mining_proxy.py script to /usr/local/bin
Installed /home/user/stratum-mining-proxy
Processing dependencies for stratum-mining-proxy==1.5.7
Searching for autobahn
Reading http://pypi.python.org/simple/autobahn/
Reading http://pypi.python.org/simple/autobahn/autobahn-0.14.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.7.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.16.0-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.17.2-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.5.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.8.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.18.2-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.9.3-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.15.0-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.16.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.17.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.14.0-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.18.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.9.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.6.2-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.9.2-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.18.0-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.6.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-17.10.1-py2.py3-none-any.whl
Reading http://pypi.python.org/simple/autobahn/autobahn-0.17.0-py2.py3-none-any.whl
Best match: autobahn 17.10.1
Downloading http://pypi.python.org/simple/autobahn/autobahn-17.10.1.tar.gz
Processing autobahn-17.10.1.tar.gz
Writing /tmp/easy_install-POQf8g/autobahn-17.10.1/setup.cfg
Running autobahn-17.10.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-POQf8g/autobahn-17.10.1/egg-dist-tmp-VZzXXo
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
Traceback (most recent call last):
File "setup.py", line 54, in
setup(**args)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/develop.py", line 27, in run
self.install_for_development()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/develop.py", line 105, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 682, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 580, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 825, in best_match
return self.obtain(req, installer) # try and download/install
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 837, in obtain
return installer(requirement)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 823, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1103, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1089, in run_setup
run_setup(setup_script, args)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/sandbox.py", line 30, in run_setup
lambda: execfile(
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/sandbox.py", line 78, in run
return func()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.28-py2.7.egg/setuptools/sandbox.py", line 32, in
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 253, in
File "/usr/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 38, in
from twisted.internet import default
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 56, in
install = _getInstallFunction(platform)
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 44, in _getInstallFunction
from twisted.internet.epollreactor import install
File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 23, in
from twisted.python import log
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 26, in
from twisted.logger import (
File "/usr/lib/python2.7/dist-packages/twisted/logger/__init__.py", line 97, in
from ._logger import Logger, _loggerFor
File "/usr/lib/python2.7/dist-packages/twisted/logger/_logger.py", line 262, in
_log = Logger()
File "/usr/lib/python2.7/dist-packages/twisted/logger/_logger.py", line 58, in __init__
from ._global import globalLogPublisher
File "/usr/lib/python2.7/dist-packages/twisted/logger/_global.py", line 216, in
globalLogBeginner = LogBeginner(globalLogPublisher, sys.stderr, sys, warnings)
File "/usr/lib/python2.7/dist-packages/twisted/logger/_global.py", line 86, in __init__
errorStream, lambda event: formatEvent(event) + u"\n"
File "/usr/lib/python2.7/dist-packages/twisted/logger/_file.py", line 34, in __init__
if ioType(outFile) is not unicode:
File "/usr/lib/python2.7/dist-packages/twisted/python/compat.py", line 381, in ioType
if isinstance(fileIshObject, file):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types