Closed 9er closed 2 months ago
See my working config here: https://github.com/mashb1t/Fooocus/discussions/19#discussioncomment-9284128
That works! I have checked existing issues, PRs and branches, but not discussions :upside_down_face:
Yeah, been tinkering with mashbit's fork and got it working on Ubuntu 24.04 this way. But I guess it depends on availability of python packages (pypi access especially from China) as he mentioned.
Hint: Make a backup of requirements_versions.txt
because it will be replaced on every update until this repo is updated to fix Python 3.12 dependencies.
Please check out the fixed versions of https://github.com/lllyasviel/Fooocus/pull/2927, as it's always better to pin versions, especially for security and / or bundling via zip file. Feedback would highly be appreciated.
Please check out the fixed versions of #2927, as it's always better to pin versions, especially for security and / or bundling via zip file. Feedback would highly be appreciated.
This is not enough for Python 3.12. pip install -r requirements_versions.txt
exits building package "pillow".
Building wheels for collected packages: Pillow
Building wheel for Pillow (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for Pillow (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [201 lines of output]
...
ERROR: Failed building wheel for Pillow
Tested Pillow versions up till success. Min version required is 10.0.0
Long story short: With Pillow==10.0.0
#2927 also builds on Python 3.12.
Will be fixed in #2927 - if you want to use it now, download the updated branch @ cootshk/Fooocus
When I update the requirements_versions.txt with >= instead of == (except for gradio, leave that one ==), then I got it to work.
General support has been established, but see https://github.com/lllyasviel/Fooocus/pull/2927#issuecomment-2231101766
Is there an existing issue for this?
What would your feature do?
I tried installing the PIP requirements with python 3.12.3, but it fails in several places. I have upped some packages:
The first one is already in #2927.
And I get much further, but then cargo explodes
So here I'm out of ideas. I assume that there are some fixes neccessary for python 3.12 and that someone is smarter than me and knows what to do :)
Proposed workflow
(there's documentation for installing Fooocus, so it should work with recent python versions)
Additional information
No response