Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
Closed
Description
Bug report
When using Windows Installer to upgrade Python on Windows on ARM, installer suggests user-specific install location (i.e.,%USERPROFILE%\AppData\Local\Programs
) even if previous version was installed system-wide (i.e.,C:\Program Files
)
Steps to repro
- Download and install previous release of Python (e.g., 3.11.0b1) using Windows ARM64 Installer. Make sure to check "Install for all users" option under "Advanced Options" page.
- Download and open newer version (e.g., 3.11.0b5) Windows ARM64 Installer.
- Observe the path the installer tries to use with "Upgrade Now" option.
Expected behavior
Newer version installer correctly picks up install directory of previous version (i.e.,C:\Program Files\Python311-arm64
)
Actual behavior
Installer incorrectly tries to use user-specific install location (i.e.,%USERPROFILE%\AppData\Local\Programs\Python\Python311-arm64
) instead.
Workaround
Manually check "Install for all users" option in upgrading condition, i.e., do not use "Upgrade Now" option.
Your environment
- CPython versions tested on: 3.11.0b5 (and any earlier prerelease of 3.11.0 iirc)
- Operating system and architecture: Windows 11 build 22621.436 (22H2 Insider Build), ARM64 (Surface Pro X)
Encountered same issue before switching to an Windows Insider build with earlier beta version of Python, so this doesn't seem related to me using Windows Insider build.