Bitcoin Forum

Bitcoin => Project Development => Topic started by: noaj24 on November 09, 2017, 12:30:02 AM



Title: [BOUNTY 0.02BTC] Github-pybitcoin-ImportError
Post by: noaj24 on November 09, 2017, 12:30:02 AM
Hello I was wondering maybe someone can help me on this

I cloned the file https://github.com/blockstack/pybitcoin.git (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