vbuterin / pybitcointools

SImple, common-sense Bitcoin-themed Python ECC library
1.28k stars 856 forks source link

cannot use pybtctool with python3 #191

Closed mfutech closed 4 years ago

mfutech commented 6 years ago

fails at the print statement, if corrected fails later, example:

> python C:\Progs\Python36\Scripts\pybtctool random_electrum_seed

Traceback (most recent call last):
  File "C:\Progs\Python36\Scripts\pybtctool", line 32, in <module>
    o = vars()[cmd](*args, **kwargs)
  File "C:\Progs\Python36\lib\site-packages\bitcoin\main.py", line 419, in random_electrum_seed
    + str(int(time.time() * 1000000))
TypeError: can't concat bytes to str
ghost commented 6 years ago

Tried using 'python2.7 fileName.py'? or just in gerneral another Python version?

mfutech commented 6 years ago

I do not have a Pyhton2.7 installed. Need to install one and tests. I'll let you know.