Hack Forums
[Python] [BITCOIN] Need help debugging this program - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] [BITCOIN] Need help debugging this program (/showthread.php?tid=5707866)



[BITCOIN] Need help debugging this program - constantcrypto - Aug 31, 2017

Hello! I am trying to debug this program. It gets stuck at a point and says:

Code
Traceback (most recent call last):
  File "doublespend.py", line 10, in <module>
    import bitcoin.rpc
ImportError: No module named rpc


Does anyone have any idea how do fix this?

Thanks a ton!


* - Charger - Aug 31, 2017

Simple. There is no module named Bitcoin.rpc

Google it.


* - constantcrypto - Aug 31, 2017

(Aug 31, 2017 03:53 PM)Charger Wrote:  Simple. There is no module named Bitcoin.rpc

Google it.

haha okay so what do i do?


* - vorticalbox - Sep 2, 2017

(Aug 31, 2017 03:55 PM)constantcrypto Wrote:  haha okay so what do i do?

You have to download it and put in the same folder or if it's available via pip. pip install bitcoin.