无法从命令行运行

时间:2016-03-17 21:04:34

标签: python python-behave

我正在尝试从命令行运行(使用cmder& sublime text 3),但我得到以下输出

behave --name features\zero.feature
Traceback (most recent call last):
  File "C:\Python27\Scripts\behave-script.py", line 9, in <module>
     load_entry_point('behave==1.2.5', 'console_scripts', 'behave')()
  File "build\bdist.win32\egg\behave\__main__.py", line 111, in main
  File "c:\python27\lib\encodings\cp437.py", line 12, in encode
      return codecs.charmap_encode(input,errors,encoding_map)
  UnicodeEncodeError: 'charmap' codec can't encode character u'\ufffd' in position 31: character maps to <undefined>

我也提到这个github thread,我无法理解。

0 个答案:

没有答案