ImportError: cannot import name ‘metadata‘ from ‘importlib‘

yolov8 编译问题 ImportError: cannot import name ‘metadata’ from ‘importlib’

问题
将 from importlib import metadata
更改为
import importlib_metadata as metadata

你可能感兴趣的:(目标检测,yolov8)