priestc / moneywagon

Universal bitcoin/altcoin blockchain client library for Python and the command line
http://multiexplorer.com
MIT License
149 stars 48 forks source link

Can't use this code due to Serialization error in the __init--.py #34

Open maxcado opened 5 years ago

maxcado commented 5 years ago

Hello, First, let me say that I really appreciate your efforts in creating this code-- thank you. It looks nice but I haven't been able to put it to practice. I've installed it under python 3.7 but I get the following kind of error:

from moneywagon import getblock Traceback (most recent call last): File "", line 1, in File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\moneywagon_ init__.py", line 9, in from .core import ( File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\moneywagon\co re.py", line 11, in from bitcoin import serialize ImportError: cannot import name 'serialize' from 'bitcoin' (C:\Users\user\AppData\Local\Program

I get this same kind of error on a linux machine as well under both python 2.7 and python 3 environment. Secondly, cannot use $ moneywagon function at the command prompt to create keypairs.

Any suggestions?