0

我正在尝试从命令行运行行为(使用 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线程,我不太明白。

4

0 回答 0