Closed cczhong11 closed 5 years ago
What I did to fix this was by adding these two lines in getNotebooks.py
reload(sys)
sys.setdefaultencoding('utf8')
so by default, Alfred-Workflow purposefully uses python 2 because it's the version that comes on macOS, so while I agree it would be nice to use it with python 3, in order for everyone to be able to use it without having to install anything else, it's generally recommended to keep workflows on python 2. Check out the docs here http://www.deanishe.net/alfred-workflow/supported-versions.html#python-versions
I liked this workflow, but it is written in python2. I experienced errors when I open my notebook.
I understand it is a big work to transfer 2 to 3, and I have tried myself and failed since it has so many parts need to change...