Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The solution of error: "cannot import name 'packaging' from 'pkg_resources'" #82

Open
huangkun1985 opened this issue Jul 24, 2024 · 0 comments

Comments

@huangkun1985
Copy link

For error: "cannot import name 'packaging' from 'pkg_resources'"

The solution: Ensure that Python 3.12 or lower is installed with a comfy UI portable. Then go inside ComfyUI_windows_portable\python_embeded folder and run this command.

python.exe -m pip install setuptools==65.5.1

A comfy update installs setuptools-70.0.0, you need to downgrade for it to work.

copy from: https://www.youtube.com/watch?v=wEd1wPlCBaQ&t=309s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant