Comments (10)
Update on this. I recently received an update for Python. Now the native Python install method halts at the following error instead:
ERROR: Cannot uninstall psutil 5.9.8, RECORD file not found. Hint: The package was installed by debian.
Trying to uninstall psutil with "apt remove python3-psutil" inexplicably tries to autoremove the entire Cinnamon desktop environment.
from fooocus.
^ While the above issue still prevents the direct Python installation method from working on Mint 22, the recent repository update to my Python seems to have fixed some other issues. I tried the venv method again, and it now seems to work. Because of that, I'm going to go ahead and close this issue. If anyone else runs across these issues, it seems venv should be a good method to install on Mint 22 as of 8/28/2024.
from fooocus.
Why not use conda? afaik Fooocus is tied to Python 3.10
from fooocus.
I tried installing Anaconda, but some of the listed pre-requisites either weren't available to install or caused conflicts with sound libraries. I was able to install Miniconda, but that method still ran into the same issue with pytorch when trying to execute Fooocus.
from fooocus.
It seems that the problem is in combination of linux version, python version and hardware details, "No matching distribution found for torch" means that. You'd better find how to install torch for your situation at torch support forums (imho it is not purely a Mint issue, its just linux). Fooocus don`t do anything spicy here, it just need torch to be installed. May be there are custom distributions/repos or something like that.
from fooocus.
I've been using Fooocus on Mint with XFCE for 4 months, zero problems.
from fooocus.
I've been using Fooocus on Mint with XFCE for 4 months, zero problems.
Mint 22 just released last month, did you upgrade to the latest version?
from fooocus.
from fooocus.
No. I'm running Mint 21.3 with all the updates but I haven't done an upgrade. Python 3.10.12 Fooocus version: 2.5.5 same as yours My hardware is an MSI Aegis i7 137000F, 64G Ram, NVIDIA GeForce RTX 4060 8G A 1Tb SSD with Windows and a 4Tb SSD with Mint that runs the same software 5 to 10 times faster than on the Windows SSD. Aside from power outages, Fooocus has been running 24/7 with no problems. I'm relatively new to this, not sure it's Linux version related.
It's been a few days since I dug into it, but if I remember correctly, I believe the dead end I came to involved a dependency on the libasound2 library. Mint 22 switches the audio backend from PulseAudio to Pipewire, and I suspect that may be causing conflicts with audio libraries that Python stuff like PyTorch look for and depend on. It's actually the second time I've encountered a problem in Mint 22 related to libasound2; the first was a dependency check with DaVinci Resolve, and trying to install it to fix it automatically uninstalled most of Cinnamon. If I remember, this specific issue causes problems with installing PyTorch, which means Fooocus can't run.
While it may be true that the finger can be pointed at PyTorch, Pipewire, or Linux Mint themselves, I reported this issue so the devs would be aware of it in case they want to develop a workaround fix or alternative way of doing things. It looks like Linux distros may be moving toward further adopting Pipewire, and if I'm right about that being the cause of problems with libasound2, it may be worth looking into. I've been running Fooocus in a Docker container from a dev who deleted their project and GitHub account, so it's no longer online with a maintainer. It would be great to see an OFFICIAL Docker image, or other self-contained alternative environment, as an officially supported install method. That's why I also opened a feature request to suggest it as a possible future-focused (no pun intended) solution to issues like these.
from fooocus.
from fooocus.
Related Issues (20)
- [Feature Request]: Just a comment that your software works fine with my fanless Nvidia GT 1030 with only 2 GB of VRAM -- may want to add to document.
- [Feature Request]: Click-to-Select Inpainting Area and Padding Option in Fooocus
- [Bug]: GPU not connected.
- [Bug]: Low vram mode has an error
- [Feature Request]: Hotkey to hide the inpainting GUI icons
- [Bug]: Github Security Lab Vulnerability Report
- [Bug]: Error Expecting value: line 1 column 1 (char 0) again!
- [Bug]: Letters S,R,F and sometimes Capital Letters not working HOT 2
- [Bug]: 504 Gateway Time-out HOT 10
- Errors “File not found” at first launch HOT 1
- [Bug]: Fooocus stuck at "Moving model(s) has taken 1.17 seconds" when using API HOT 1
- [Bug]: onnxruntime==1.18.1 Installation Issue on Python 3.10.14 - No Matching Distribution Found
- [Feature Request]: Flux support? HOT 3
- [Bug]: RuntimeError: CUDA error: an illegal memory access was encountered HOT 2
- [Feature Request]: Fooocus for cuda:12.2 in docker? HOT 1
- [Feature Request]: Support for [FLUX] (can't be the only one who wants this) HOT 5
- [Feature Request]: Change the sampler in the playground_v2.5 preset
- [Bug]: OutOfMemoryError: CUDA out of memory. HOT 1
- [Bug]:[Enhance] Skipping, preconditions aren't met + Big Grey Blop in output image
- [Bug]: After downloading foocus, nothing happens HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fooocus.