-
Notifications
You must be signed in to change notification settings - Fork 46
windows 10 python 3.6,运行错误。 #3
Description
pip3 isntall lyrebird
pip3 install lyrebird-ios
pip3 install lyrebird-android
pip3 install lyrebird-api-coverage
lyrebird --help
以上都是正确的。
lyrebird v start 该命令报错。如下:
C:\Users\borla>lyrebird v start
Traceback (most recent call last):
File "d:\python36\lib\site-packages\lyrebird\mock\logger_helper.py", line 45, in init_logger_settings
disable_existing_loggers=False)
File "d:\python36\lib\logging\config.py", line 84, in fileConfig
handlers = _install_handlers(cp, formatters)
File "d:\python36\lib\logging\config.py", line 147, in _install_handlers
args = eval(args, vars(logging))
File "", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Python36\Scripts\lyrebird.exe_main.py", line 9, in
File "d:\python36\lib\site-packages\lyrebird\manager.py", line 226, in run
fire.Fire(CommandLine)
File "d:\python36\lib\site-packages\fire\core.py", line 127, in Fire
component_trace = _Fire(component, args, context, name)
File "d:\python36\lib\site-packages\fire\core.py", line 366, in _Fire
component, remaining_args)
File "d:\python36\lib\site-packages\fire\core.py", line 542, in _CallCallable
result = fn(*varargs, **kwargs)
File "d:\python36\lib\site-packages\lyrebird\manager.py", line 199, in start
self.server.start()
File "d:\python36\lib\site-packages\lyrebird\manager.py", line 114, in start
init_logger_settings(verbose=self.verbose)
File "d:\python36\lib\site-packages\lyrebird\mock\logger_helper.py", line 53, in init_logger_settings
disable_existing_loggers=False)
File "d:\python36\lib\logging\config.py", line 84, in fileConfig
handlers = _install_handlers(cp, formatters)
File "d:\python36\lib\logging\config.py", line 147, in _install_handlers
args = eval(args, vars(logging))
File "", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
C:\Users\borla>