Skip to content

[enhancement]: Can we add settings for Python and PyTorch mirrors in the installation steps? #8072

Open
@Moooonet

Description

@Moooonet

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

What should this feature add?

Adding configuration options for Python and PyTorch mirrors during the installation process can help more users successfully install InvokeAI, fostering ecosystem growth. This is particularly important as network issues in certain regions may lead to installation failures.

`Starting up...
Installation parameters:

  • Invoke version: v5.13.0rc3
  • Install location: D:\aigc\invokeAI
  • Python version: 3.12
  • GPU type: nvidia>=30xx
  • Torch platform: cuda
  • Using torch index: https://download.pytorch.org/whl/cu128
    Installing Python 3.12...

C:\Users\moooonet\AppData\Local\Temp\2xlkepy8Rhkg3A9ZyXAxYG0nJbU\resources\bin\uv.exe python install 3.12 --python-preference only-managed --reinstall
error: Failed to install cpython-3.12.9-windows-x86_64-none
Caused by: Failed to download https://github.com/astral-sh/python-build-standalone/releases/download/20250317/cpython-3.12.9%2B20250317-x86_64-pc-windows-msvc-install_only_stripped.tar.gz
Caused by: Request failed after 3 retries
Caused by: error sending request for url (https://github.com/astral-sh/python-build-standalone/releases/download/20250317/cpython-3.12.9%2B20250317-x86_64-pc-windows-msvc-install_only_stripped.tar.gz)
Caused by: client error (Connect)
Caused by: invalid peer certificate: UnknownIssuer
Failed to install Python: Process exited with code 1
Try installing again with Repair mode enabled to fix this.
Ask for help on Discord or GitHub if you continue to have issues.`

Alternatives

No response

Additional Content

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions