The "python" runtime executable is not detected on Windows machines
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
Comece com a invocação do hook do Windows mostrada no log detalhado: python3 -m slack_cli_hooks.hooks.get_hooks, e rastreie como a CLI seleciona o executável do runtime. Verifique o comportamento com as versões listadas do Windows, PowerShell e Python; considera-se concluído quando o runtime python instalado é encontrado e a configuração do hook é inicializada com sucesso.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 9
- Forks
- 2
- Merge médio
- 7h
- PRs com merge (30d)
- 2
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de slackapi/python-slack-hooks
-
auto-triage-skip enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
slackapi/python-slack-hooks#51 · 1 comentário ·
-
auto-triage-skip
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
slackapi/python-slack-hooks#14 · 1 comentário ·
-
[FEATURE] windows CI supportTalvez livre de novo @WilliamBergamin assumiu há 1023 dias e não há nenhum pull request aberto. Abertaauto-triage-skip enhancement
slackapi/python-slack-hooks#5 · 2 comentários · 1 responsável ·
Todas as issues de slackapi/python-slack-hooks
Issues semelhantes
-
adr
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
kristofdegrave/homeassistant-smart-charging#1607 ·
Mantenedores costumam responder em até 1 dia
-
namespace operations
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
EclipseFdn/open-vsx.org#13665 ·
Mantenedores costumam responder em até 1 dia
-
doc good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
collective/icalendar#1865 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
canonical/opentelemetry-collector-operator#409 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
mozilla/addons-release-tests#1243 ·
Mantenedores costumam responder em até 1 dia