Author

Topic: [BOUNTY 0.02BTC] Github-pybitcoin-ImportError (Read 306 times)

newbie
Activity: 14
Merit: 0
November 08, 2017, 07:30:02 PM
#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 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 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
Jump to: