Error: name 'keystore' is not defined
Zambi9 opened this issue · 3 comments
Zambi9 commented
Followed the readme, "BIP39-BIP44 Standard Wallets" section, with the commands below, in IDLE:
>>> from cryptos import *
>>> words = entropy_to_words(os.urandom(16))
>>> words
'husband surface feel slice route air coin record want patient galaxy honey'
>>> keystore.bip39_is_checksum_valid(words)
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
keystore.bip39_is_checksum_valid(words)
NameError: name 'keystore' is not defined
>>> coin = Bitcoin()
>>> wallet = coin.wallet(words)
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
wallet = coin.wallet(words)
AttributeError: 'Bitcoin' object has no attribute 'wallet'
>>>
Zambi9 commented
Ok, evidently I don't have keystore.py as well as a few other files.
I used pip install cryptos for installation.
I now tried to uninstall, download the zip and install that way, I got other errors.
What is the current recommended way to install to have everything working as in the readme?
Zambi9 commented
Solved by downloading the zip (or using git clone), then pip install Pbkdf2
Will be great if you could update the package at PyPI (or revise installation instructions in the readme)
primal100 commented
Should be working in latest version 2.0.4.