Post
Topic
Board Hardware
Re: Avalon users: bitcoind and slush's/generalfaults mining pool setup
by
tiktoc
on 20/04/2013, 19:28:10 UTC
Trying to get this setup in preparation for impending Avalon arrival.

Machine is running 64 bit version of Ubuntu 12.10.

Here is a transcript of my pain:

Quote
root@avalon:/home/jack# easy_install -U distribute
Searching for distribute
Reading http://pypi.python.org/simple/distribute/
Reading http://packages.python.org/distribute
Best match: distribute 0.6.36
Processing distribute-0.6.36-py2.7.egg
distribute 0.6.36 is already the active version in easy-install.pth
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/distribute-0.6.36-py2.7.egg
Processing dependencies for distribute
Finished processing dependencies for distribute


root@avalon:/home/jack# easy_install stratum
Searching for stratum
Reading http://pypi.python.org/simple/stratum/
Reading http://blog.bitcoin.cz/stratum
Best match: stratum 0.2.12
Downloading http://pypi.python.org/packages/source/s/stratum/stratum-0.2.12.tar.gz#md5=a685da0dce43263db08ae949568b0f54
Processing stratum-0.2.12.tar.gz
Running stratum-0.2.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-VMEAZ0/stratum-0.2.12/egg-dist-tmp-RDHzmk
The required version of distribute (>=0.6.28) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U distribute'.
(Currently using distribute 0.6.24dev-r0 (/usr/lib/python2.7/dist-packages))
error: Setup script exited with 2

It looks like Stratum is demanding a version of distribute of >=0.6.28 and doesn't recognize distribute 0.6.36.

Any suggested workarounds?

thanks,

humble

Maybe follow the actual instructions? I dont install it as root. sudo carries some path environment variables across.

Which might be causing what happens. Also you are not in the git directory, when you do the easy_install stratum  be in the directory before the stratum directory.

If both of those dont work.

change directory to inside the stratum directory.

then
Code:
sudo python setup.py install