Bitcoin Forum
May 04, 2024, 05:07:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [BOUNTY 0.02BTC] Github-pybitcoin-ImportError  (Read 279 times)
noaj24 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 09, 2017, 12:30:02 AM
Last edit: November 09, 2017, 03:12:45 AM by noaj24
 #1

Hello I was wondering maybe someone can help me on this

I cloned the file https://github.com/blockstack/pybitcoin.git in my terminal and I had done installing the requirements and successfully run using the command
Code:
sudo python setup.py install

However when I run the  
Code:
python unit_tests.py
I got the following error:

Traceback (most recent call last): File "unit_tests.py", line 38, in <module> from settings import BITCOIND_RPC_PASSWORD, BITCOIND_RPC_USERNAME, \ ImportError: cannot import name BITCOIND_RPC_PASSWORD


also in  
Code:
python wallet.py
I got the following error:

Traceback (most recent call last): File "wallet.py", line 12,, in <module> from .keypair import * ValueError: Attempted relative import in non-package

I already open an issue at the repository but I don't think the users are not active, I also tried to reach out to the author to no avail.

I am hoping someone can enlighten me regarding the error as I am new to python. Any help would be highly appreciated. Thank you so much. attached image is the list in my
Code:
pip freeze

Am I missing some libraries?

https://ibb.co/gSmHXb
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!