TheRealLordFractal / Bip39Generator

This allows you to create millions per second of BIP39 passphrase's using simple python
10 stars 22 forks source link

errors #2

Closed OSoup closed 5 years ago

OSoup commented 5 years ago

I receive below errors for 6 and 12 words. Is something that Im doing wrong? Could you give the exact names of python dependencies packages? I install the dependencies with pip install but I dont find all. Thanks!

D:\Bip39Generator>generate6words.py -n 5000000 -o out.txt File "D:\Bip39Generator\generate6words.py", line 42 word3 = CODEWORDS[int(random.uniform(0,len(CODEWORDS)))] ^ TabError: inconsistent use of tabs and spaces in indentation

D:\Bip39Generator>generate12words.py -n 5000000 -o out.txt File "D:\Bip39Generator\generate12words.py", line 66 except getopt.error, msg: ^ SyntaxError: invalid syntax

TheRealLordFractal commented 5 years ago

did you try with generate12words.py ? and do you get the same message?

OSoup commented 5 years ago

I receive below error:

D:\Bip39Generator>generate12words.py -n 50000 -o out.txt File "D:\Bip39Generator\generate12words.py", line 66 except getopt.error, msg: ^ SyntaxError: invalid syntax

TheRealLordFractal commented 5 years ago

I have tested the error, I have fixed generate6words and generate12words, each will output corresponding file... aka 12words.txt and 6words.txt

Let me know if you have any other issues.

OSoup commented 5 years ago

Same error like below. Could you please list the exact names of the python dependencies (could be that i don`t have them all). Maybe put them in a text file requirements.txt for easy install with command "pip install -r requirements.txt" Thank you for your time!

D:\Bip39Generator\generate12words.py -n 50 File "D:\Bip39Generator\generate12words.py", line 66 except getopt.error, msg: ^ SyntaxError: invalid syntax

OSoup commented 5 years ago

It`s working with python 2.7.12 but not with 3.7.2.

Is possible to remove the space before the first word and the last one in the generated txt file? Thanks!