Skip to content

Commit e9b0077

Browse files
committed
experimentally allow python 3.13 and comfy latest builds
1 parent 32119f5 commit e9b0077

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Note: if you're on Windows 10, you may need to manually install [git](https://gi
8383
- Install `git` and `python3` via your OS package manager if they are not already installed (make sure to include `pip` and `venv` on distros that do not include them in python directly)
8484
- For example, on some Ubuntu (desktop) versions, `sudo apt install git python3-pip python3-venv`, or you may need <https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa>
8585
- For Debian or Ubuntu Server, `sudo apt install git python3-full`
86-
- You'll want Python 3.11 or 3.12. Things should also work fine with 3.10. Do not use 3.13 or later.
86+
- You'll want Python 3.11 or 3.12. Things should also work fine with 3.10. 3.13 might work. Do not use 3.14 or later.
8787
- Make sure `python3.11 -m pip --version` returns a valid package
8888

8989
### Linux Easy Install
@@ -126,7 +126,7 @@ Note: if you're on Windows 10, you may need to manually install [git](https://gi
126126
- Verify your `brew` installation with `brew doctor`. You should not see any error in the command output.
127127
- Install .NET for macOS: `brew install dotnet`.
128128
- If you don't have Python, install it: `brew install python@3.11` and `brew install virtualenv`
129-
- Python 3.11, 3.12, 3.10 are all fine. 3.13 is not, do not use 3.13.
129+
- Python 3.11, 3.12, 3.10 are all fine. 3.13 might work. Do not use 3.14 or later.
130130
- Change the directory (`cd`) to the folder where you want to install SwarmUI.
131131
- Clone the SwarmUI GitHub repository: `git clone https://github.com/mcmonkeyprojects/SwarmUI`.
132132
- `cd SwarmUI` and run the installation script: `./launch-macos.sh`.

launch-macos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
55
cd "$SCRIPT_DIR"
66

7-
# Try to encourage Mac to use the correct python version (ie don't use global default which is often 3.13 for mac users, instead use 11, 12, or 10)
8-
export PATH="/opt/homebrew/opt/python@3.11/libexec/bin:/opt/homebrew/opt/python@3.12/libexec/bin:/opt/homebrew/opt/python@3.10/libexec/bin:$PATH"
7+
# Try to encourage Mac to use the correct python version (ie don't use global default which is often overly new py vers for mac users, instead use 11, 12, or 10)
8+
export PATH="/opt/homebrew/opt/python@3.11/libexec/bin:/opt/homebrew/opt/python@3.12/libexec/bin:/opt/homebrew/opt/python@3.10/libexec/bin:/opt/homebrew/opt/python@3.13/libexec/bin:$PATH"
99

1010
# PyTorch MPS fallback to CPU, so incompatible comfy nodes can still work.
1111
export PYTORCH_ENABLE_MPS_FALLBACK=1

src/Core/Installation.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ public static async Task InstalledFor(string installed_for)
8989
}
9090
else
9191
{
92-
//await Utilities.DownloadFile("https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z", "dlbackend/comfyui_dl.7z", UpdateProgress);
93-
// TODO: Comfy updated default to python 3.13, but 3.13 is super unstable and incompatible, so use an older package
94-
await Utilities.DownloadFile("https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.49/ComfyUI_windows_portable_nvidia.7z", "dlbackend/comfyui_dl.7z", UpdateProgress);
92+
await Utilities.DownloadFile("https://github.com/comfyanonymous/ComfyUI/releases/latest/download/ComfyUI_windows_portable_nvidia.7z", "dlbackend/comfyui_dl.7z", UpdateProgress);
9593
}
9694
}
9795
catch (HttpRequestException ex)

0 commit comments

Comments
 (0)