From aca5679968b59db3d2d4bc61f3c232300f5e25c1 Mon Sep 17 00:00:00 2001 From: jllllll <3887729+jllllll@users.noreply.github.com> Date: Wed, 2 Aug 2023 21:39:07 -0500 Subject: [PATCH] Properly fix broken gcc_linux-64 package (#115) --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index dd949dae..46f6e4c6 100644 --- a/webui.py +++ b/webui.py @@ -210,7 +210,7 @@ def update_dependencies(): gxx_output = run_cmd("g++ -dumpfullversion -dumpversion", environment=True, capture_output=True) if gxx_output.returncode != 0 or int(gxx_output.stdout.strip().split(b".")[0]) > 11: # Install the correct version of g++ - run_cmd("conda install -y -k gxx_linux-64=11.2.0 -c conda-forge", environment=True) + run_cmd("conda install -y -k conda-forge::gxx_linux-64=11.2.0", environment=True) # Install/Update ROCm AutoGPTQ for AMD GPUs if '+rocm' in torver: