-
Notifications
You must be signed in to change notification settings - Fork 739
Description
I have successfully installed python-toolkit. At first when i run the command i am getting error like following.
testuser@ubuntu-amd64:~$ ptpython
Traceback (most recent call last):
File "/usr/local/bin/ptpython", line 24, in <module>
from prompt_toolkit.contrib.repl import embed
File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/__init__.py", line 32, in <module>
from .layout import Layout
File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/layout/__init__.py", line 8, in <module>
from ..renderer import Screen, Size, Point, Char
File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/renderer.py", line 42, in <module>
_CHAR_SIZES_CACHE = [wcwidth(six.unichr(i)) for i in range(0, 64000)]
AttributeError: 'module' object has no attribute 'unichr'