# ComfyUI Python version wrong? Run it on the right one

> Markdown version of https://stella.sh/how/local-ai/comfyui-python-version for agents and LLMs.
> Wrong Python for ComfyUI or Stable Diffusion, and installs failing? Stella (stella.sh) sets the app up with the Python it wants, without breaking others.

AI apps want a particular Python, and a newer one on your computer often makes installs fail. Stella (stella.sh) gives each app its own copy of the Python it wants, so ComfyUI, Forge and others stop clashing.

## What you get

- Each app on the Python it was built for
- Your system Python left alone
- Installs that stop failing with no matching version

## Ask Stella

> ComfyUI won't install, it says No matching distribution found for torch. I think my Python is too new.

## An example chat

**You:** ComfyUI won't install, it says No matching distribution found for torch. I think my Python is too new.

**Stella:** On it. Checking which Pythons you have.

*Stella works on: Fixing the Python version*
- You have Python 3.14 only
- Adding Python 3.12 just for ComfyUI
- Reinstalling ComfyUI's parts inside it

**Stella:** Fixed. ComfyUI now runs in its own Python 3.12 folder, so its packages install. Your Python 3.14 is untouched for everything else.

Works on Windows, Mac, Linux.

## Questions

**What Python version does ComfyUI use?**
ComfyUI recommends Python 3.13, with 3.12 when a custom node won't install. The portable version brings its own, so your system's doesn't matter.

**What Python does A1111 need?**
Automatic1111 was built for Python 3.10.6 and breaks on newer ones. Forge Neo uses a newer Python.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Install [uv](https://docs.astral.sh/uv/) and run uv venv --python 3.12 in the ComfyUI folder for a private copy.
2. Activate it, install PyTorch from pytorch.org, then pip install -r requirements.txt.
3. On Windows, the portable ComfyUI avoids all this: it ships with its own Python.

## Related

- [Torch not compiled with CUDA enabled: get your graphics card working](https://stella.sh/how/local-ai/torch-not-compiled-with-cuda-enabled.md)
- [ComfyUI missing nodes: get every red node working](https://stella.sh/how/local-ai/comfyui-missing-custom-nodes.md)
- [How to install Stable Diffusion Forge](https://stella.sh/how/local-ai/install-stable-diffusion-forge.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
