-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
[Documentation Request]: Consider Anaconda instead of PPA for Ubuntu 24.04 LTS #16214
Comments
EDIT: I removed the first sentence since it was just my assumption. I used Conda in the past, and I occasionally had problems with unavailable packages. If all required packages are available, what is written should work. However, I do not like the idea of mixing Conda env and venv since those are two different virtual environments. If you want to use Conda, it would probably be best to disable venv properly first by changing line 22 in webui-user.sh to
You can call your Conda env any way you want, but I would never use venv for Conda env on my system. I would be confused what it is. I would do something like this instead:
But, as I said, your system = your rules. |
Thank you for the suggestions I tried |
Is there an existing issue for this?
What would your feature do ?
I recently upgraded to Ubuntu 24.04 and got tripped up by an error "RuntimeError: Torch is not able to use GPU." From reading around, it sounded like I needed to remake my venv. Unfortunately when doing this, I discovered that a python3.10 venv was needed, which was not supported out of box on Ubuntu 24.04.
The documentation currently suggests installing a PPA. This is not ideal since it introduces a system-wide change. I generally prefer not to install system-wide packages unlesss absolutely necessary, and if so, to try to install via official, well-supported sources.
Fortunately, I found a workaround, which I documented over on Ask Ubuntu here. Essentially, I use Miniconda instead of a PPA. This has the benefits of only requiring user-mode / no system-wide changes required.
Versus deadsnakes PPA which includes this prominent warning:
Which was definitely enough to dissuade myself who is already afraid of PPA's from the current install instructions.
Would an anaconda-based (or other user-mode installation option) make sense on the documentation page?
Proposed workflow
n/a
Additional information
No response
The text was updated successfully, but these errors were encountered: