我正在尝试在我的 Windows 系统上应用 Python 的安装步骤,但我不知道应该为日志和配置创建什么路径。
我收到以下错误:
C:\Program Files\Python38\Scripts>thingsboard-gateway
Traceback (most recent call last):
File "C:\Program Files\Python38\Scripts\thingsboard-gateway-script.py", line 11, in <module>
load_entry_point('thingsboard-gateway==2.0.0.2', 'console_scripts', 'thingsboard-gateway')()
File "c:\program files\python38\lib\site-packages\thingsboard_gateway\tb_gateway.py", line 24, in daemon
TBGatewayService("/etc/thingsboard-gateway/config/tb_gateway.yaml")
File "c:\program files\python38\lib\site-packages\thingsboard_gateway\gateway\tb_gateway_service.py", line 38, in __init__
with open(config_file) as config:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/thingsboard-gateway/config/tb_gateway.yaml'