The "python" runtime executable is not detected on Windows machines
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia con l’invocazione dell’hook Windows mostrata nel log dettagliato: python3 -m slack_cli_hooks.hooks.get_hooks, e traccia il modo in cui la CLI seleziona l’eseguibile del runtime. Verifica il comportamento con le versioni indicate di Windows, PowerShell e Python; il lavoro è completato quando viene trovato il runtime python installato e la configurazione dell’hook viene inizializzata correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
After configuring a virtual environment with the latest Python CLI hooks and running the app it appears that the runtime cannot be found.
Version
Using slack.exe v3.9.0
OS Info
> ver
Microsoft Windows [Version 10.0.22000.2538]
> pwsh --version
PowerShell 7.5.3
> python --version
Python 3.14.0
Steps to reproduce:
Share the commands to run, source code, and project settings:
- Create an app from the Bolt for Python starter template: http://github.com/slack-samples/bolt-python-starter-template
- Set up the virtual environment including hooks.
- Attempt to install and run a new app with the verbose flag.
Expected result:
The app to begin using the installed "python" runtime.
Actual result:
> slack run --team T02A074M3U3
> If you leave this team, you can no longer manage the installed apps
Installed apps will belong to the team if you leave the workspace
Check C:\Users\user\.slack\logs\slack-debug-20251031.log for error logs
The hook runtime executable was not found (runtime_not_found)
The `start` script was not found (sdk_hook_not_found)
> Suggestion
Make sure the required runtime has been installed to run hook scripts.
From the verbose logs:
starting hook command: python3 -m slack_cli_hooks.hooks.get_hooks
P
ython was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.
finished hook command: python3 -m slack_cli_hooks.hooks.get_hooks
failed to initialize hook configurations: Error running 'GetHooks' command: exit status 1 (sdk_hook_invocation_failed)
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.
> Suggestion
Run `slack.exe doctor` to check that your system dependencies are up-to-date.
Requirements
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
- Lingua principale
- Python
- Stelle
- 9
- Fork
- 2
- Merge medio
- 13h 3m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di slackapi/python-slack-hooks
-
auto-triage-skip enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
slackapi/python-slack-hooks#51 · 1 commento ·
-
auto-triage-skip
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
slackapi/python-slack-hooks#14 · 1 commento ·
-
[FEATURE] windows CI support Apertaauto-triage-skip enhancement
slackapi/python-slack-hooks#5 · 2 commenti · 1 assegnatario ·
Tutte le issue di slackapi/python-slack-hooks
Issue simili
-
essnmx good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
[Feature] 奇物选择添加优先级 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Giskard-AI/giskard-oss#2840 · 1 commento ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Apertaarea: repo bug perceived difficulty: 2
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
yeti-platform/yeti#1380 ·