Look to me that n8n image does not have access to the python runtime. The container is not aware that you installed pyhon in the host. I think you have to create a custom image that adds python. Check the post below.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Running Python with n8n | 30 | 62664 | December 29, 2025 | |
| Execute python file on N8n | 2 | 6005 | June 6, 2024 | |
| N8N + HOSTINGER + Exec command + Script Python | 2 | 529 | May 28, 2025 | |
| N8n running python script | 6 | 307 | February 8, 2026 | |
| Is triggering a Docker container from n8n’s Execute Command node a recommended approach? | 8 | 182 | April 28, 2026 |