Open Margthus opened 1 year ago
What does python3 --version
show?
I got arround this error by downloading the repo and in webui.sh changing the python_cmd variable from python3 to python3.10 and it runs without issue from there
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12650#issuecomment-1685125070
@catboxanon,
python3 --version
returns
Python 3.11.6
although https://software.opensuse.org/download/package?package=python310&project=openSUSE%3AFactory#directopenSUSE is installed too:
```.log Script started, output log file is 'typescript'. RokeJulianLockhart@s1e8h4:~/software/git/github.com/AUTOMATIC1111/stable-diffusion-webui> wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh RokeJulianLockhart@s1e8h4:~/software/git/github.com/AUTOMATIC1111/stable-diffusion-webui> sudo zypper install python310 [sudo] password for root: Loading repository data... Reading installed packages... Resolving package dependencies... The following 4 recommended packages were automatically selected: python310 python310-curses python310-dbm python310-pip The following 11 NEW packages are going to be installed: libpython3_10-1_0 python310 python310-base python310-curses python310-dbm python310-gobject python310-gobject-cairo python310-gobject-Gdk python310-pip python310-pycairo python310-setuptools 11 new packages to install. Overall download size: 14.8 MiB. Already cached: 0 B. After the operation, additional 54.5 MiB will be used. Continue? [y/n/v/...? shows all options] (y): y Retrieving: libpython3_10-1_0-3.10.13-2.2.x86_64 (Main Repository (OSS)) (1/11), 1.3 MiB Retrieving: libpython3_10-1_0-3.10.13-2.2.x86_64.rpm ..................................................................................................................................................................................................................[done (1.3 MiB/s)] Retrieving: python310-base-3.10.13-2.2.x86_64 (Main Repository (OSS)) (2/11), 9.1 MiB Retrieving: python310-base-3.10.13-2.2.x86_64.rpm .....................................................................................................................................................................................................................[done (1.4 MiB/s)] Retrieving: python310-setuptools-68.1.2-2.1.noarch (Main Repository (OSS)) (3/11), 1.0 MiB Retrieving: python310-setuptools-68.1.2-2.1.noarch.rpm ................................................................................................................................................................................................................[done (1.3 MiB/s)] Retrieving: python310-pip-23.3.1-1.1.noarch (Main Repository (OSS)) (4/11), 2.3 MiB Retrieving: python310-pip-23.3.1-1.1.noarch.rpm .......................................................................................................................................................................................................................[done (1.4 MiB/s)] Retrieving: python310-3.10.13-2.2.x86_64 (Main Repository (OSS)) (5/11), 165.3 KiB Retrieving: python310-3.10.13-2.2.x86_64.rpm ..........................................................................................................................................................................................................................[done (1.3 MiB/s)] Retrieving: python310-dbm-3.10.13-2.2.x86_64 (Main Repository (OSS)) (6/11), 137.8 KiB Retrieving: python310-dbm-3.10.13-2.2.x86_64.rpm ...................................................................................................................................................................................................................[done (1013.9 KiB/s)] Retrieving: python310-curses-3.10.13-2.2.x86_64 (Main Repository (OSS)) (7/11), 168.2 KiB Retrieving: python310-curses-3.10.13-2.2.x86_64.rpm .................................................................................................................................................................................................................[done (998.9 KiB/s)] Retrieving: python310-pycairo-1.25.1-1.1.x86_64 (Main Repository (OSS)) (8/11), 162.3 KiB Retrieving: python310-pycairo-1.25.1-1.1.x86_64.rpm ...................................................................................................................................................................................................................[done (1.0 MiB/s)] Retrieving: python310-gobject-3.46.0-1.2.x86_64 (Main Repository (OSS)) (9/11), 398.8 KiB Retrieving: python310-gobject-3.46.0-1.2.x86_64.rpm ...................................................................................................................................................................................................................[done (1.3 MiB/s)] Retrieving: python310-gobject-cairo-3.46.0-1.2.x86_64 (Main Repository (OSS)) (10/11), 19.6 KiB Retrieving: python310-gobject-cairo-3.46.0-1.2.x86_64.rpm .........................................................................................................................................................................................................................[done] Retrieving: python310-gobject-Gdk-3.46.0-1.2.x86_64 (Main Repository (OSS)) (11/11), 57.0 KiB Retrieving: python310-gobject-Gdk-3.46.0-1.2.x86_64.rpm ...........................................................................................................................................................................................................................[done] Checking for file conflicts: ......................................................................................................................................................................................................................................................[done] ( 1/11) Installing: libpython3_10-1_0-3.10.13-2.2.x86_64 ..........................................................................................................................................................................................................................[done] ( 2/11) Installing: python310-base-3.10.13-2.2.x86_64 .............................................................................................................................................................................................................................[done] ( 3/11) Installing: python310-setuptools-68.1.2-2.1.noarch ........................................................................................................................................................................................................................[done] ( 4/11) Installing: python310-pip-23.3.1-1.1.noarch ...............................................................................................................................................................................................................................[done] ( 5/11) Installing: python310-3.10.13-2.2.x86_64 ..................................................................................................................................................................................................................................[done] ( 6/11) Installing: python310-dbm-3.10.13-2.2.x86_64 ..............................................................................................................................................................................................................................[done] ( 7/11) Installing: python310-curses-3.10.13-2.2.x86_64 ...........................................................................................................................................................................................................................[done] ( 8/11) Installing: python310-pycairo-1.25.1-1.1.x86_64 ...........................................................................................................................................................................................................................[done] ( 9/11) Installing: python310-gobject-3.46.0-1.2.x86_64 ...........................................................................................................................................................................................................................[done] (10/11) Installing: python310-gobject-cairo-3.46.0-1.2.x86_64 .....................................................................................................................................................................................................................[done] (11/11) Installing: python310-gobject-Gdk-3.46.0-1.2.x86_64 .......................................................................................................................................................................................................................[done] Running post-transaction scripts ..................................................................................................................................................................................................................................................[done] RokeJulianLockhart@s1e8h4:~/software/git/github.com/AUTOMATIC1111/stable-diffusion-webui> ./webui.sh ################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye) ################################################################ ################################################################ Running on RokeJulianLockhart user ################################################################ ./webui.sh: line 131: bc: command not found ERROR: RX 5000 series GPUs must be using at max python 3.10, aborting...RokeJulianLockhart@s1e8h4:~/software/git/github.com/AUTOMATIC1111/stable-diffusion-webui> python3 --version Python 3.11.6 ```
Per https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12650#issuecomment-1692016794, shouldn't it automatically detect that multiple versions are installed and choose the correct version?
No, that should be the responsibility of the user. The env vars are provided for this exact purpose.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12650#issuecomment-1833662796
@catboxanon, how come in this instance it's so? I've never needed to with any other python3
-based program I've used. Regardless, how should one specify which to use, then? Is https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12650#issuecomment-1692016794 how you advise it?
Is there an existing issue for this?
What happened?
I am using debian 12. My GPU RX5500xt python 3.10.8 and 3.11.2 are installed on my system but it still gives the same error I type the following command and it gives this error bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
Error ################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye) ################################################################
################################################################ Running on mustafa user ################################################################ ERROR: RX 5000 series GPUs must be using at max python 3.10, aborting...
Steps to reproduce the problem
What should have happened?
normal installation of stable diffision
Version or Commit where the problem happens
1.51
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Linux
What device are you running WebUI on?
AMD GPUs (RX 5000 below)
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
no
Console logs
Additional information
No response