Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shreyanshsaha opened this issue Feb 4, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@shreyanshsaha
Copy link

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
@shreyanshsaha shreyanshsaha added the bug Something isn't working label Feb 4, 2024
@shreyanshsaha shreyanshsaha changed the title For Windows | It only works if python3 is installed from Windows Store (Windows) It only works if python3 is installed from Windows Store Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants