Bitcoin Forum
December 10, 2016, 05:00:33 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Setting up miner in ubuntu, help with python  (Read 1999 times)
m4dhatter
Member
**
Offline Offline

Activity: 69


View Profile
August 07, 2011, 08:58:20 PM
 #1

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.
1481346033
Hero Member
*
Offline Offline

Posts: 1481346033

View Profile Personal Message (Offline)

Ignore
1481346033
Reply with quote  #2

1481346033
Report to moderator
1481346033
Hero Member
*
Offline Offline

Posts: 1481346033

View Profile Personal Message (Offline)

Ignore
1481346033
Reply with quote  #2

1481346033
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
drgr33n
Sr. Member
****
Offline Offline

Activity: 266



View Profile
August 07, 2011, 09:03:22 PM
 #2

Can't you just use the ubuntu packages ?

Code:
sudo apt-get install python-jsonrpc2
m4dhatter
Member
**
Offline Offline

Activity: 69


View Profile
August 07, 2011, 09:25:37 PM
 #3

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.
m4dhatter
Member
**
Offline Offline

Activity: 69


View Profile
August 07, 2011, 10:03:29 PM
 #4

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 <module>
    from BitcoinMiner import *
  File "/home/box1/poclbm/BitcoinMiner.py", line 4, in <module>
    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.
jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
August 07, 2011, 10:17:23 PM
 #5

If you're 64-bit capable, why not try LinuxCoin on a USB stick?

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
m4dhatter
Member
**
Offline Offline

Activity: 69


View Profile
August 07, 2011, 10:38:19 PM
 #6

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.
drgr33n
Sr. Member
****
Offline Offline

Activity: 266



View Profile
August 07, 2011, 10:50:23 PM
 #7

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 ?
gnoll110
Newbie
*
Offline Offline

Activity: 23


View Profile
August 18, 2011, 04:27:57 AM
 #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?

Rubyist who think bitcoin sound like a good idea.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!