Author

Topic: Setting up miner in ubuntu, help with python (Read 2202 times)

newbie
Activity: 23
Merit: 0
August 17, 2011, 11:27:57 PM
#8
There is a mirror of python-jsonrpc at...

https://github.com/bmjames/python-jsonrpc

m4dhatter: "I got that part figured out..."
What was the problem, by the way?

I've used the Sectio Aurea post. Got it running. (needs to be run from poclbm directory, not ~, in section Cool.
I'm getting "Problems communicating with bitcoin RPC 0 2", figure its firewall or password fun?
sr. member
Activity: 308
Merit: 251
I know I could do that, but I'm looking to make a switch from windows to linux. Because of this, id rather find the solution to the problem rather then just use something else. I'm sure this wont be the last problem I run into after all.

python-logging-extra ?
member
Activity: 71
Merit: 10
I know I could do that, but I'm looking to make a switch from windows to linux. Because of this, id rather find the solution to the problem rather then just use something else. I'm sure this wont be the last problem I run into after all.
full member
Activity: 238
Merit: 100
If you're 64-bit capable, why not try LinuxCoin on a USB stick?
member
Activity: 71
Merit: 10
I got that part figured out, and completed the walkthrough. When I try to run poclbm I get this now.


Traceback (most recent call last):
  File "poclbm/poclbm.py", line 3, in
    from BitcoinMiner import *
  File "/home/box1/poclbm/BitcoinMiner.py", line 4, in
    from log import *
ImportError: No module named log


I know I know, I'm terrible with linux still. However, if I can get this miner setup I'll have no reason to use windows any longer, which will allow me to get better with linux. I really hope somebody here can help me get this sorted out.
member
Activity: 71
Merit: 10
I tried that, this is what I get.


Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-jsonrpc2


Thanks for the quick reply.
sr. member
Activity: 308
Merit: 251
Can't you just use the ubuntu packages ?

Code:
sudo apt-get install python-jsonrpc2
member
Activity: 71
Merit: 10
Im following the guide here to setup pooled mining in ubuntu.
http://sectio-aurea.blogspot.com/2011/05/bitcoin-mining-on-ubuntu-1104-natty.html

Problem is I cant get past step 4, which is installing python jason-rpc library.

when I enter "svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc" I get this in return.
"svn: OPTIONS of 'http://svn.json-rpc.org/trunk/python-jsonrpc': Could not resolve hostname `svn.json-rpc.org': No address associated with hostname (http://svn.json-rpc.org)"

Can somebody please tell me what I am doing wrong. Keep in mind I'm very new with linux.
Jump to: