跑验证安装
from hmnextauto.driver import Driver
d = Driver()
print(d.device_info)
就报错了:
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
命令行显示
[2026-06-05 10:23:42] _client.py[line: 67] [DEBUG] sendMsg: {"module":"com.ohos.devicetest.hypiumApiHelper","method":"callHypiumApi","params":{"api":"Driver.create","this":"Driver#0","args":[],"message_type":"hypium"},"request_id":"20260605102342560683"}
这是为啥啊?
跑验证安装
from hmnextauto.driver import Driver
d = Driver()
print(d.device_info)
就报错了:
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
命令行显示
[2026-06-05 10:23:42] _client.py[line: 67] [DEBUG] sendMsg: {"module":"com.ohos.devicetest.hypiumApiHelper","method":"callHypiumApi","params":{"api":"Driver.create","this":"Driver#0","args":[],"message_type":"hypium"},"request_id":"20260605102342560683"}
这是为啥啊?