rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.24k stars 212 forks source link

(Windows) It only works if python3 is installed from Windows Store #849

Open shreyanshsaha opened 4 months ago

shreyanshsaha commented 4 months ago

Describe the bug The install script py .\ssetup.py doen't give any output and doesn't execute anything.

Expected behavior Run the python script

Install Type: Bare Metal Distro: Windows 10

Logs and status if relevant

PS C:\Users\Shreyansh\Downloads\kinto-master> iwr https://raw.githubusercontent.com/rbreaves/kinto/master/install/windows.ps1 -UseBasicParsing | iex
WARNING: 'choco' was found at 'C:\ProgramData\chocolatey\bin\choco.exe'.
WARNING: An existing Chocolatey installation was detected. Installation will not continue. This script will not
overwrite existing installations.
If there is no Chocolatey installation at 'C:\ProgramData\chocolatey', delete the folder and attempt the installation
again.

Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
If the existing installation is not functional or a prior installation did not complete, follow these steps:
 - Backup the files at the path listed above so you can restore your previous installation if needed.
 - Remove the existing installation manually.
 - Rerun this installation script.
 - Reinstall any packages previously installed, if needed (refer to the lib folder in the backup).

Once installation is completed, the backup folder is no longer needed and can be deleted.
Chocolatey v2.2.2
Installing the following packages:
python3
By installing, you accept licenses for the packages.
python3 v3.12.1 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.

Chocolatey installed 0/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:
 - python3 - python3 v3.12.1 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.
PS C:\Users\Shreyansh\Downloads\kinto-master> cd "$env:USERPROFILE\Downloads\kinto-master"

Steps to fix:

  1. Type python3 in command shell, it will lead you to store page
  2. Install python3 from store page
  3. Run the command manually by changing py .\setup.py to python3 .\setup.py