Skip to content

[bug]: Upgrade failes with "Failed to install cpython-3.12.9-windows-x86_64-none" #8537

Description

@MatthK

Is there an existing issue for this problem?

  • I have searched the existing issues

Install method

Invoke's Launcher

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

GeForce RTX 4070 Ti

GPU VRAM

12GB

Version number

v3.7.0

Browser

n/a

System Information

No response

What happened

I downloaded the latest installer (v1.7.1) and tried to upgrade my existing, old version to the latest version. The upgrade errors out with with failing to install Python 3.12...

I tried to re-run the update with the Repair option selected, but that didn't help either. Here is the log of the update:

Detected existing installation at C:\Users\Matth\invokeai:
- Invoke version: v3.7.0
- Python version: 3.10.9
Installation parameters:
- Invoke version: v6.5.1
- Install location: C:\Users\Matth\invokeai
- Python version: 3.12
- GPU type: nvidia>=30xx
- Torch platform: cuda
- Using torch index: https://download.pytorch.org/whl/cu128
Repair mode enabled:
- Force-reinstalling python
- Deleting and recreating virtual environment
Installing Python 3.12...
> C:\Users\Matth\AppData\Local\Programs\invoke-community-edition\resources\bin\uv.exe python install 3.12 --python-preference only-managed --reinstall
cpython-3.12.9-windows-x86_64-none ------------------------------ 20.00 MiB/20.19 MiB
error: Failed to install cpython-3.12.9-windows-x86_64-none
  Caused by: Failed to extract archive: cpython-3.12.9%2B20250317-x86_64-pc-windows-msvc-install_only_s
tripped.tar.gz
  Caused by: failed to unpack `\\?\C:\Users\Matth\AppData\Roaming\uv\python\.temp\.tmpBMYQST\python\tcl
\tk8.6\mkpsenc.tcl`
  Caused by: failed to unpack `python/tcl/tk8.6/mkpsenc.tcl` into `\\?\C:\Users\Matth\AppData\Roaming\u
v\python\.temp\.tmpBMYQST\python\tcl\tk8.6\mkpsenc.tcl`
  Caused by: error decoding response body
  Caused by: request or response body error
  Caused by: error reading a body from connection
  Caused by: stream error received: unspecific protocol error detected
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.

What you expected to happen

The upgrade to finish successfully.

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions