Hipo / hst

history search & picker in ncurses - also can pick other things
47 stars 3 forks source link

python 2.7 installation error #15

Open kunthar opened 7 years ago

kunthar commented 7 years ago
 λ kunthar : sudo -H pip install hst
Collecting hst
  Using cached hst-0.1.11.tar.gz
Requirement already satisfied: pyperclip in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from hst)
Installing collected packages: hst
  Running setup.py install for hst ... done
Successfully installed hst-0.1.11
______________________________________________
 ~/Downloads/peco_darwin_amd64
 λ kunthar : hst
>>> 11378  �clear
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hst/hst.py", line 527, in <module>
    main(args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hst/hst.py", line 462, in main
    picker.load_lines()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hst/hst.py", line 134, in load_lines
    self.lines = self.loader.load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hst/hst.py", line 40, in load
    l = unicode(l, encoding='utf8')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 1: invalid continuation byte