aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpaceginner <ivan.demian2009@gmail.com>2023-01-25 17:38:28 +0000
committerSpaceginner <ivan.demian2009@gmail.com>2023-01-25 17:38:28 +0000
commit2de99d62dd80123bf2d7dcbb2c4970fad5d92d42 (patch)
treea6fa76f6c3e996f87cd8add63a665e300c6f35ac
parentdc0f05c57cb588b918102c7e64dcfe2b06cc0e90 (diff)
downloadstable-diffusion-webui-gfx803-2de99d62dd80123bf2d7dcbb2c4970fad5d92d42.tar.gz
stable-diffusion-webui-gfx803-2de99d62dd80123bf2d7dcbb2c4970fad5d92d42.tar.bz2
stable-diffusion-webui-gfx803-2de99d62dd80123bf2d7dcbb2c4970fad5d92d42.zip
some clarification
-rw-r--r--launch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/launch.py b/launch.py
index cf747e72..4608bc81 100644
--- a/launch.py
+++ b/launch.py
@@ -26,9 +26,10 @@ def check_python_version():
version_range = range(7, 12)
try:
- assert version.major == 3 and version.minor in version_range, "Unsupported Python version, please use Python 3.10.x instead. You can download latest release as of 25th January (3.10.9) from here: https://www.python.org/downloads/release/python-3109/"
+ assert version.major == 3 and version.minor in version_range, "Unsupported Python version, please use Python 3.10.x instead. You can download latest release as of 25th January (3.10.9) from here: https://www.python.org/downloads/release/python-3109/. Please, make sure to first delete current version of Python first."
except AssertionError as e:
print(e)
+ sys.exit(-1)
def commit_hash():