Kivy Designer UnicodeEncodeError:'ascii'编解码器不能对位置12中的字符u'\ u0130'进行编码:序数不在范围内(128)

时间:2014-12-27 16:25:40

标签: python kivy

我正在开始创建Kivy Designer,我安装了Kivy 1.8,pip,watchdog,pygments,docutils但kivy不起作用,我去了kivy设计器文件,我写了python main.py

代码:

 Traceback (most recent call last):
   File "main.py", line 3, in <module>
     DesignerApp().run()
   File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 792, in run
     runTouchApp()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 481, in runTouchApp
     EventLoop.window.mainloop()
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py", line 381, in mainloop
     self._mainloop()
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py", line 287, in _mainloop
     EventLoop.idle()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 321, in idle
     Clock.tick()
   File "/usr/lib/python2.7/dist-packages/kivy/clock.py", line 422, in tick
     self._process_events()
   File "/usr/lib/python2.7/dist-packages/kivy/clock.py", line 537, in _process_events
     if event.tick(self._last_tick) is False:
   File "/usr/lib/python2.7/dist-packages/kivy/clock.py", line 309, in tick
     ret = callback(self._dt)
   File "/home/yavuz/İndirilenler/kivy-designer-master/designer/uix/kivy_console.py", line 263, in _initialize
     self.txtinput_command_line.text = self.prompt()
   File "/home/yavuz/İndirilenler/kivy-designer-master/designer/uix/kivy_console.py", line 291, in prompt
     os.path.basename(str(self.cur_dir)))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u0130' in position 12: ordinal not in range(128)

0 个答案:

没有答案