ImportError: cannot import name ‘packaging‘ from ‘pkg_resources‘‘
参考自: [Bug]: ImportError: cannot import name 'packaging' from 'pkg_resources' (/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py) · Issue #15863 · AUTOMATIC1111/stable-diffusion-webui · GitHub
ImportError: cannot import name 'packaging' from 'pkg_resources'‘
检查setuptools是否为70.0.0版本
pip list | grep setuptools
降低版本
python -m pip install setuptools==69.5.1