Skip to content

Allow Windows users to choose the Python environment location instead of always using the C: drive #14656

Description

@popuguytheparrot

Problem

On Windows, the installer always creates the Python environment on the system drive (C:), typically under the user's profile (AppData).

This is problematic for users who:

keep the system partition small (e.g. 100–150 GB),
have a dedicated SSD/HDD for development or AI workloads,
want to avoid filling the system drive with Python packages and dependencies.

Since the embedded Python environment and installed packages can grow significantly over time, forcing everything onto C: is inconvenient.

Expected behavior

During installation, allow the user to:

choose the location of the Python environment, or
specify a custom installation directory (for example D:\ComfyUI\python), or
respect an environment variable or command-line argument that overrides the default location.
Benefits
Prevents unnecessary usage of the system drive.
Makes installations more flexible for multi-drive systems.
Better matches common Windows software installation practices.
Helps users with limited free space on C:.

I think this would improve the Windows installation experience without affecting existing users, since the current behavior could remain the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions