Installation fails on fresh install of Windows via pipx
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
# Reproduce
- Fresh install of Windows.
- Download and install latest python from [python.org](https://www.python.org/).
- Install [pipx](https://pipxproject.github.io/pipx/) via commands:
- `py -m pip install --user pipx`
- `py -m pipx ensurepath`
- Reboot
- Attempt to install `awscli` via:
- `pipx install awscli`
- Try to run `aws`, nothing happens.
# Analysis
The file [aws.cmd](https://github.com/aws/aws-cli/blob/develop/bin/aws.cmd) ends up getting called. It tries (and succeeds in) finding a `python.exe` at `C:\Users\xxx\AppData\Local\Microsoft\WindowsApps\python.exe`.
This logic is no longer valid as Microsoft started shipping Windows 10 with a `python.exe` which simply opens up the app store.
Though, when running `aws` from a terminal nothing happens, the store doesn't even open.
Contributor guide
Assessment
This issue has not been assessed yet.