Bitcoin Forum

Bitcoin => Mining support => Topic started by: 0toinvestor on April 23, 2015, 01:05:16 PM



Title: Trouble with bitcoin.cz linux proxy
Post by: 0toinvestor on April 23, 2015, 01:05:16 PM
Hello. I have been trying to get the bitcoin.cz mining proxy running on my Ubuntu 14.04 machine. The OS is a fresh install and I've followed the instructions on the website for setting up the proxy exactly. However when I run the command to start the proxy I get the following error:

Traceback (most recent call last):
  File "./mining_proxy.py", line 51, in <module>
    from stratum import settings
ImportError: No module named stratum

I have spent some time searching the web and looking for a solution for this error but cannot find anything helpful. Does anyone know what's causing this and can you help resolve it?

Thanks!


Title: Re: Trouble with bitcoin.cz linux proxy
Post by: fsb4000 on April 23, 2015, 01:43:28 PM
try
Code:
git clone https://github.com/slush0/stratum-mining-proxy.git
sudo apt-get install python-dev
sudo python setup.py develop

You're welcome  ;)


Title: Re: Trouble with bitcoin.cz linux proxy
Post by: 0toinvestor on April 23, 2015, 03:55:10 PM
I had to install git, but once I did and followed your commands I was returned:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'develop'

Am I missing another package?


Title: Re: Trouble with bitcoin.cz linux proxy
Post by: BittiNura on April 23, 2015, 05:07:10 PM
mabey it helps you try this link: https://mining.bitcoin.cz/user-manual/mining-proxy (https://mining.bitcoin.cz/user-manual/mining-proxy)


Title: Re: Trouble with bitcoin.cz linux proxy
Post by: 0toinvestor on April 23, 2015, 05:33:22 PM
Followed the "Installation on Linux Using Git (Advanced)" instructions and it's working now. Thank you.