活动介绍

C:\Users\HUAWEI\AppData\Local\Programs\Python\Python312\python.exe D:\pc01\pc.py Traceback (most recent call last): File "D:\pc01\pc.py", line 4, in <module> capture = pyshark.LiveCapture( ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyshark\capture\live_capture.py", line 58, in __init__ all_interfaces = get_tshark_interfaces(tshark_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyshark\tshark\tshark.py", line 112, in get_tshark_interfaces parameters = [get_process_path(tshark_path), "-D"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyshark\tshark\tshark.py", line 70, in get_process_path raise TSharkNotFoundException( pyshark.tshark.tshark.TSharkNotFoundException: TShark not found. Try adding its location to the configuration file. Searched these paths: ['C:\\Program Files\\Wireshark\\tshark.exe', 'C:\\Program Files (x86)\\Wireshark\\tshark.exe', 'C:\\Program Files\\Wireshark\\tshark.exe'] 进程已结束,退出代码为 1

时间: 2025-07-07 14:19:28 浏览: 13
<think>根据错误信息,程序在尝试调用tshark时没有找到可执行文件。pyshark依赖于Wireshark的tshark工具,因此需要确保tshark已安装并且其路径被正确配置。 解决方案: 1. 安装Wireshark(包含tshark),下载地址:https://www.wireshark.org/download.html 2. 安装时注意勾选"Install TShark"(默认会安装)。 3. 安装完成后,找到tshark的安装路径(例如:C:\Program Files\Wireshark\tshark.exe)。 4. 在Python代码中设置tshark的路径。 另外,也可以将Wireshark的安装目录添加到系统的环境变量PATH中,这样pyshark就能自动找到tshark。 以下代码演示如何在程序中设置tshark路径:</think>### 解决 "TShark not found" 错误 这个错误表明 pyshark 无法找到 Wireshark 的 tshark 可执行文件。pyshark 依赖于 tshark 进行底层数据包处理,因此必须正确配置。以下是完整的解决方案: #### 解决方案 1:安装 Wireshark(推荐) ```bash # Windows 用户: 1. 下载 Wireshark 安装包:https://www.wireshark.org/download.html 2. 安装时勾选以下选项: ☑ Install Wireshark ☑ Install TShark (命令行工具) ☑ Add Wireshark to the system PATH # macOS 用户: brew install wireshark # Ubuntu/Debian 用户: sudo apt update sudo apt install tshark wireshark ``` #### 解决方案 2:手动指定 tshark 路径(如果已安装) ```python import pyshark import os # Windows 默认路径(根据实际安装位置调整) tshark_path = r'C:\Program Files\Wireshark\tshark.exe' # macOS/Linux 默认路径 # tshark_path = '/usr/bin/tshark' if os.path.exists(tshark_path): pyshark.tshark.tshark_path = tshark_path print(f"TShark path set to: {tshark_path}") else: print(f"TShark not found at {tshark_path}. Please install Wireshark.") # 测试配置 try: capture = pyshark.LiveCapture(interface='eth0') print("TShark configuration successful!") except Exception as e: print(f"Configuration failed: {str(e)}") ``` #### 解决方案 3:Linux/macOS 权限修复 ```bash # 修复 dumpcap 权限(数据包捕获需要) sudo chgrp $(id -g) /usr/bin/dumpcap sudo chmod 750 /usr/bin/dumpcap ``` #### 解决方案 4:验证安装的完整代码 ```python import pyshark import subprocess def check_tshark_installation(): """检查系统是否安装了 TShark""" try: # 尝试运行 tshark --version result = subprocess.run( ['tshark', '--version'], capture_output=True, text=True, check=True ) print("TShark is installed:") print(result.stdout.split('\n')[0]) return True except (FileNotFoundError, subprocess.CalledProcessError): print("TShark not found in system PATH.") return False def find_tshark_path(): """在常见路径中搜索 tshark""" common_paths = [ # Windows 路径 r'C:\Program Files\Wireshark\tshark.exe', r'C:\Program Files (x86)\Wireshark\tshark.exe', # Linux/macOS 路径 '/usr/bin/tshark', '/usr/local/bin/tshark', '/opt/wireshark/bin/tshark' ] for path in common_paths: if os.path.exists(path): print(f"Found TShark at: {path}") return path print("TShark not found in common locations.") return None # 主程序 if not check_tshark_installation(): tshark_path = find_tshark_path() if tshark_path: pyshark.tshark.tshark_path = tshark_path print("TShark path manually configured.") else: print("Please install Wireshark from https://www.wireshark.org/download.html") exit(1) # 测试实时捕获 try: interfaces = pyshark.get_all_interfaces() print(f"Available interfaces: {interfaces}") if interfaces: capture = pyshark.LiveCapture(interface=interfaces[0]) print("Starting packet capture... Press Ctrl+C after 5 seconds") capture.sniff(timeout=5) print(f"Captured {len(capture)} packets successfully!") except Exception as e: print(f"Capture test failed: {str(e)}") ``` ### 错误原因详解 1. **依赖缺失**:pyshark 是 TShark 的 Python 封装,必须安装 Wireshark 2. **路径问题**: - Windows:默认安装在 `C:\Program Files\Wireshark\` - macOS:通过 Homebrew 安装在 `/usr/local/bin/` - Linux:通过 apt/yum 安装在 `/usr/bin/` 3. **权限问题**:Linux/macOS 需要 dumpcap 权限才能捕获数据包 ### 验证安装成功 运行以下命令检查 TShark 是否可用: ```bash tshark --version # 应输出类似:TShark (Wireshark) 4.0.3 ```
阅读全文

相关推荐

vllm serve 部署模型出现ERROR 03-21 09:05:00 engine.py:400] 'Gemma3Config' object has no attribute 'vocab_size' ERROR 03-21 09:05:00 engine.py:400] Traceback (most recent call last): ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/engine/multiprocessing/engine.py", line 391, in run_mp_engine ERROR 03-21 09:05:00 engine.py:400] engine = MQLLMEngine.from_engine_args(engine_args=engine_args, ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/engine/multiprocessing/engine.py", line 124, in from_engine_args ERROR 03-21 09:05:00 engine.py:400] return cls(ipc_path=ipc_path, ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/engine/multiprocessing/engine.py", line 76, in __init__ ERROR 03-21 09:05:00 engine.py:400] self.engine = LLMEngine(*args, **kwargs) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 273, in __init__ ERROR 03-21 09:05:00 engine.py:400] self.model_executor = executor_class(vllm_config=vllm_config, ) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/executor/executor_base.py", line 52, in __init__ ERROR 03-21 09:05:00 engine.py:400] self._init_executor() ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/executor/uniproc_executor.py", line 47, in _init_executor ERROR 03-21 09:05:00 engine.py:400] self.collective_rpc("load_model") ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/executor/uniproc_executor.py", line 56, in collective_rpc ERROR 03-21 09:05:00 engine.py:400] answer = run_method(self.driver_worker, method, args, kwargs) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/utils.py", line 2196, in run_method ERROR 03-21 09:05:00 engine.py:400] return func(*args, **kwargs) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm_ascend/worker/worker.py", line 179, in load_model ERROR 03-21 09:05:00 engine.py:400] self.model_runner.load_model() ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm_ascend/worker/model_runner.py", line 818, in load_model ERROR 03-21 09:05:00 engine.py:400] self.model = get_model(vllm_config=self.vllm_config) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/model_executor/model_loader/__init__.py", line 14, in get_model ERROR 03-21 09:05:00 engine.py:400] return loader.load_model(vllm_config=vllm_config) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/model_executor/model_loader/loader.py", line 406, in load_model ERROR 03-21 09:05:00 engine.py:400] model = _initialize_model(vllm_config=vllm_config) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/model_executor/model_loader/loader.py", line 125, in _initialize_model ERROR 03-21 09:05:00 engine.py:400] return model_class(vllm_config=vllm_config, prefix=prefix) ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/vllm/model_executor/models/transformers.py", line 135, in __init__ ERROR 03-21 09:05:00 engine.py:400] self.vocab_size = config.vocab_size ERROR 03-21 09:05:00 engine.py:400] File "/usr/local/python3.10/lib/python3.10/site-packages/transformers/configuration_utils.py", line 214, in __getattribute__ ERROR 03-21 09:05:00 engine.py:400] return super().__getattribute__(key)

昇腾mindie跑模型 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ForkAwareLocal' object has no attribute 'connection' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "<string>", line 2, in append File "<string>", line 2, in append File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused [ERROR] TBE Subprocess[task_distribute] raise error[], main process disappeared! [ERROR] TBE Subprocess[task_distribute] raise error[], main process disappeared! Process ForkServerProcess-3: Process ForkServerProcess-5: Process ForkServerProcess-8: Process ForkServerProcess-9: Process ForkServerProcess-4: Process ForkServerProcess-2: Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' During handling of the above exception, another exception occurred: During handling of the above exception, another exception occurred: During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): During handling of the above exception, another exception occurred: During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ForkAwareLocal' object has no attribute 'connection' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "<string>", line 2, in append File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused /usr/lib64/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /usr/lib64/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /usr/lib64/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ForkAwareLocal' object has no attribute 'connection' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "<string>", line 2, in append File "<string>", line 2, in append File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused [ERROR] TBE Subprocess[task_distribute] raise error[], main process disappeared! [ERROR] TBE Subprocess[task_distribute] raise error[], main process disappeared! Process ForkServerProcess-3: Process ForkServerProcess-5: Process ForkServerProcess-8: Process ForkServerProcess-9: Process ForkServerProcess-4: Process ForkServerProcess-2: Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' AttributeError: 'ForkAwareLocal' object has no attribute 'connection' During handling of the above exception, another exception occurred: During handling of the above exception, another exception occurred: During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): During handling of the above exception, another exception occurred: During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/managers.py", line 814, in _callmethod conn = self._tls.connection ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ForkAwareLocal' object has no attribute 'connection' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "<string>", line 2, in append File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused ConnectionRefusedError: [Errno 111] Connection refused File "/usr/lib64/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib64/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 71, in wrapper raise exp File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 63, in wrapper func(*args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 264, in task_distribute resource_proxy[SUB_PROCESS_STATE].append(True) File "<string>", line 2, in append File "/usr/lib64/python3.11/multiprocessing/managers.py", line 818, in _callmethod self._connect() File "/usr/lib64/python3.11/multiprocessing/managers.py", line 805, in _connect conn = self._Client(self._token.address, authkey=self._authkey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 518, in Client c = SocketClient(address) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/multiprocessing/connection.py", line 646, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused /usr/lib64/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /usr/lib64/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /usr/lib64/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' Daemon is killing... Killed

Traceback (most recent call last): File "e:\huawei\fbb_ws63-master\src\build.py", line 55, in <module> builder.build() ~~~~~~~~~~~~~^^ File "E:\huawei\fbb_ws63-master\src\build\script\cmake_builder.py", line 102, in build self.build_target(target) ~~~~~~~~~~~~~~~~~^^^^^^^^ File "E:\huawei\fbb_ws63-master\src\build\script\cmake_builder.py", line 117, in build_target self.compile_target(target, env) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "E:\huawei\fbb_ws63-master\src\build\script\cmake_builder.py", line 219, in compile_target self.start(env, target_name, output_path, clean=self.need_clean, nhso=self.no_hso) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\huawei\fbb_ws63-master\src\build\script\cmake_builder.py", line 342, in start mconfig("savemenuconfig", chip, core, target_name, output_path) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\huawei\fbb_ws63-master\src\build\script\usr_config.py", line 40, in mconfig kconf = Kconfig(filename=kconfig) File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 947, in __init__ self._init(filename, warn, warn_to_stderr, encoding) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 1085, in _init self._parse_block(None, self.top_node, self.top_node).next = None ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 3028, in _parse_block self._parse_block(_T_ENDMENU, node, node) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 2989, in _parse_block prev = self._parse_block(None, parent, prev) File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 3028, in _parse_block self._parse_block(_T_ENDMENU, node, node) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 2989, in _parse_block prev = self._parse_block(None, parent, prev) File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 3079, in _parse_block self._parse_props(node) ~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 3152, in _parse_props self._parse_error("expected 'on' after 'depends'") ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\asus\AppData\Roaming\Python\Python313\site-packages\kconfiglib.py", line 3879, in _parse_error raise KconfigError("{}error: couldn't parse '{}': {}".format( ...<2 lines>... self._line.strip(), msg)) kconfiglib.KconfigError: middleware/chips/Kconfig:8: error: couldn't parse 'depends MIDDLEWARE_SUPPORT_UPG': expected 'on' after 'depends'

最新推荐

recommend-type

字节跳动把Python入门知识点整理成手册了-背记手册,高清PDF下载

2. **文件扩展名 `.py`**:`.py`是Python源代码文件的标准扩展名。 3. **IDLE集成开发环境**:IDLE是Python自带的轻量级IDE,提供了一些常用快捷键,如F5运行程序,F1打开帮助文档等。 ### 二、Python语言基础 1....
recommend-type

【华为云技术分享】【昇腾】【玩转Atlas200DK系列】Atlas 200 DK安装python的hiai库以及opencv

【华为云技术分享】【昇腾】【玩转Atlas200DK系列】Atlas 200 DK是一款基于华为昇腾芯片的开发板,主要用于人工智能和深度学习应用。在这款开发板上,开发人员需要安装特定的Python库来充分利用其计算能力,如hiai库...
recommend-type

2020中国高校计算机大赛·华为云大数据挑战赛热身赛——python获取深圳历史天气信息!!

在本文中,我们将探讨如何使用Python获取深圳的历史天气信息,这是2020年中国高校计算机大赛·华为云大数据挑战赛热身赛中的一个任务。首先,我们要了解的是Python编程语言,它是一种广泛用于数据处理和网络爬虫的...
recommend-type

Python日志syslog使用原理详解

Python的日志模块提供了一个名为`syslog`的接口,用于将程序的日志信息发送到syslog服务。syslog是一种在多用户操作系统中广泛使用的日志系统,它可以将来自不同应用程序的日志消息集中管理。在Python中使用`syslog`...
recommend-type

python代码 FTP备份交换机配置脚本实例解析

Python FTP备份交换机配置脚本实例解析主要涉及以下几个核心知识点: 1. **FTP通信**:FTP(File Transfer Protocol)是一种用于在网络上进行文件传输的标准协议。在Python中,我们可以使用`ftplib`库来实现FTP...
recommend-type

Web前端开发:CSS与HTML设计模式深入解析

《Pro CSS and HTML Design Patterns》是一本专注于Web前端设计模式的书籍,特别针对CSS(层叠样式表)和HTML(超文本标记语言)的高级应用进行了深入探讨。这本书籍属于Pro系列,旨在为专业Web开发人员提供实用的设计模式和实践指南,帮助他们构建高效、美观且可维护的网站和应用程序。 在介绍这本书的知识点之前,我们首先需要了解CSS和HTML的基础知识,以及它们在Web开发中的重要性。 HTML是用于创建网页和Web应用程序的标准标记语言。它允许开发者通过一系列的标签来定义网页的结构和内容,如段落、标题、链接、图片等。HTML5作为最新版本,不仅增强了网页的表现力,还引入了更多新的特性,例如视频和音频的内置支持、绘图API、离线存储等。 CSS是用于描述HTML文档的表现(即布局、颜色、字体等样式)的样式表语言。它能够让开发者将内容的表现从结构中分离出来,使得网页设计更加模块化和易于维护。随着Web技术的发展,CSS也经历了多个版本的更新,引入了如Flexbox、Grid布局、过渡、动画以及Sass和Less等预处理器技术。 现在让我们来详细探讨《Pro CSS and HTML Design Patterns》中可能包含的知识点: 1. CSS基础和选择器: 书中可能会涵盖CSS基本概念,如盒模型、边距、填充、边框、背景和定位等。同时还会介绍CSS选择器的高级用法,例如属性选择器、伪类选择器、伪元素选择器以及选择器的组合使用。 2. CSS布局技术: 布局是网页设计中的核心部分。本书可能会详细讲解各种CSS布局技术,包括传统的浮动(Floats)布局、定位(Positioning)布局,以及最新的布局模式如Flexbox和CSS Grid。此外,也会介绍响应式设计的媒体查询、视口(Viewport)单位等。 3. 高级CSS技巧: 这些技巧可能包括动画和过渡效果,以及如何优化性能和兼容性。例如,CSS3动画、关键帧动画、转换(Transforms)、滤镜(Filters)和混合模式(Blend Modes)。 4. HTML5特性: 书中可能会深入探讨HTML5的新标签和语义化元素,如`<article>`、`<section>`、`<nav>`等,以及如何使用它们来构建更加标准化和语义化的页面结构。还会涉及到Web表单的新特性,比如表单验证、新的输入类型等。 5. 可访问性(Accessibility): Web可访问性越来越受到重视。本书可能会介绍如何通过HTML和CSS来提升网站的无障碍访问性,比如使用ARIA标签(Accessible Rich Internet Applications)来增强屏幕阅读器的使用体验。 6. 前端性能优化: 性能优化是任何Web项目成功的关键。本书可能会涵盖如何通过优化CSS和HTML来提升网站的加载速度和运行效率。内容可能包括代码压缩、合并、避免重绘和回流、使用Web字体的最佳实践等。 7. JavaScript与CSS/HTML的交互: 在现代Web开发中,JavaScript与CSS及HTML的交云并用是不可或缺的。书中可能会讲解如何通过JavaScript动态地修改样式、操作DOM元素以及使用事件监听和响应用户交互。 8. Web框架和预处理器: 这本书可能会提到流行的Web开发框架和预处理器,比如Bootstrap、Foundation、Sass和Less等,它们是如何简化和加速开发流程的。 9. 测试和维护: 书中也可能包含关于如何测试网页以及如何持续优化和维护CSS和HTML代码的章节。例如,使用断言测试、自动化测试、性能分析工具等。 最后,鉴于文件名称列表中的“压缩包子文件”的表述,这可能是对“压缩包”文件的一种误译或误用,此处“压缩包”应该指的是包含该书籍PDF文件的压缩文件格式,如ZIP或RAR。而“Pro CSS and HTML Design Patterns.pdf”指的就是该书籍的PDF格式电子版文件。 以上所述,构成了《Pro CSS and HTML Design Patterns》一书可能包含的核心知识点。通过学习这些内容,Web前端开发者可以掌握更为高效和优雅的设计模式,从而在日常工作中更高效地解决实际问题。
recommend-type

Zotero 7数据同步:Attanger插件安装&设置,打造文献管理利器

/i.s3.glbimg.com/v1/AUTH_08fbf48bc0524877943fe86e43087e7a/internal_photos/bs/2018/L/j/ipKA8TRPyt4ptaG1DGww/t-m-01.png) # 1. Zotero 7数据同步简介 在数字时代,管理研究数据变得日益重要,而Zot
recommend-type

卷积神经网络的基础理论200字

<think>我们正在回答用户关于卷积神经网络(CNN)基础理论的询问。根据提供的引用资料,我们可以概述CNN的基本结构和工作原理。引用[1]提到CNN是一种前馈神经网络,信息从输入单向流动到输出。引用[2]指出CNN在图像处理等领域应用广泛,通过层次结构和参数调整实现模式识别。引用[3]说明CNN包含卷积层,使用卷积核提取局部特征,减少参数量,提高效率。引用[4]则提到了训练过程,包括前向传播、误差计算和反向传播(梯度下降)。因此,我们将从以下几个方面概述CNN:1.CNN的基本结构(卷积层、池化层、全连接层)2.卷积操作的工作原理(局部感受野、权重共享)3.训练过程(前向传播、损失函数、反
recommend-type

轻便实用的Java库类查询工具介绍

标题 "java2库类查询" 和描述表明,所提及的工具是一个专门用于查询Java库类的应用程序。此软件旨在帮助开发者快速地查找和引用Java的标准开发工具包(SDK)中包含的所有应用程序编程接口(API)类。通过这样的工具,开发者可以节省大量在官方文档或搜索引擎上寻找类定义和使用方法的时间。它被描述为轻巧且方便,这表明其占用的系统资源相对较少,同时提供直观的用户界面,使得查询过程简洁高效。 从描述中可以得出几个关键知识点: 1. Java SDK:Java的软件开发工具包(SDK)是Java平台的一部分,提供了一套用于开发Java应用软件的软件包和库。这些软件包通常被称为API,为开发者提供了编程界面,使他们能够使用Java语言编写各种类型的应用程序。 2. 库类查询:这个功能对于开发者来说非常关键,因为它提供了一个快速查找特定库类及其相关方法、属性和使用示例的途径。良好的库类查询工具可以帮助开发者提高工作效率,减少因查找文档而中断编程思路的时间。 3. 轻巧性:软件的轻巧性通常意味着它对计算机资源的要求较低。这样的特性对于资源受限的系统尤为重要,比如老旧的计算机、嵌入式设备或是当开发者希望最小化其开发环境占用空间时。 4. 方便性:软件的方便性通常关联于其用户界面设计,一个直观、易用的界面可以让用户快速上手,并减少在使用过程中遇到的障碍。 5. 包含所有API:一个优秀的Java库类查询软件应当能够覆盖Java所有标准API,这包括Java.lang、Java.util、Java.io等核心包,以及Java SE平台的所有其他标准扩展包。 从标签 "java 库 查询 类" 可知,这个软件紧密关联于Java编程语言的核心功能——库类的管理和查询。这些标签可以关联到以下知识点: - Java:一种广泛用于企业级应用、移动应用(如Android应用)、网站后端、大型系统和许多其他平台的编程语言。 - 库:在Java中,库是一组预打包的类和接口,它们可以被应用程序重复使用。Java提供了庞大的标准库,以支持各种常见的任务和功能。 - 查询:查询指的是利用软件工具搜索、定位和检索信息的过程。对于Java库类查询工具来说,这意味着可以通过类名、方法签名或其他标识符来查找特定的API条目。 最后,压缩包文件列表包含了两个文件:“java.dit”和“Java.exe”。其中“Java.exe”很可能是程序的可执行文件,而“java.dit”可能是一个数据文件,用于存储Java类的索引或数据。由于文件名后缀通常与文件类型相关联,但“dit”并不是一个常见的文件扩展名。这可能是一个特定于软件的自定义格式,或是一个打字错误。 总结来说,"java2库类查询" 是一个针对Java开发者的实用工具,它提供了一个轻量级、易用的平台来查询和定位Java标准库中的所有类和API。此工具对优化开发流程,减少查找Java类文档的时间大有裨益,尤其适合需要频繁查阅Java API的开发者使用。
recommend-type

【Zotero 7终极指南】:新手必备!Attanger插件全攻略与数据同步神技

# 1. Zotero 7与Attanger插件的介绍 在当今的学术研究和知识管理领域,高效的文献管理工具至关重要。Zotero 7作为一个流行的参考文献管理软件,因其强大的功能和用户友好的界面而受到专业人士的青睐。而Attanger插件则为Zotero 7带来了更多定制化和高级功能,极大地增强