Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

Get error when I run this package sample code. Using Python 3.5.2 on Ubuntu #2

Open
pwalimbe opened this issue Dec 23, 2016 · 3 comments

Comments

@pwalimbe
Copy link

Traceback (most recent call last):
File "/home/prasanna/Src/verify/be/model/apikey.py", line 76, in
private_keychain = PrivateKeychain("xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi")
File "/home/prasanna/Envs/block/lib/python3.5/site-packages/keychain/private_keychain.py", line 17, in init
elif isinstance(private_keychain, (str, unicode)):
NameError: name 'unicode' is not defined

@larrysalibra
Copy link

@pwalimbe try using python 2.7

@pwalimbe
Copy link
Author

It did solve it. However since our firm has made py3 as the default stack, I was wondering if there is py3 version of this?

@pwalimbe pwalimbe reopened this Dec 27, 2016
@pwalimbe
Copy link
Author

Just wanted a comment on your plans for py3 migration?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants