# Python Version 3 Install in Self Hosted Plan

**URL:** <https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212>\
**Category:** Questions\
**Created:** [June 27, 2026, 10:25am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212 "2026-06-27T10:25:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AI4CCTV\_Team](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ai4cctv_team/32/179815_2.png) [@AI4CCTV\_Team](https://community.n8n.io/u/AI4CCTV_Team)\
**Post date:** [June 27, 2026, 10:25am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/1 "2026-06-27T10:25:38Z")

</div>

## Describe the problem/error/question

## What is the error message (if any)? - **Python runner unavailable: Python 3 is missing from this system**

Internal mode is intended only for debugging. For production, deploy in external mode: [Set up task runners | Deploy | n8n Docs](https://docs.n8n.io/hosting/configuration/task-runners/#setting-up-external-mode)

## Please share your workflow

```auto
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```

## Share the output returned by the last node

## Information on your n8n setup

- **n8n version:**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**-Own
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** - Self Hosted
- **Operating system:** - Windows  
 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/b/5/b5d1ae0b06cc80278283039858c44d05057d8f8f.png)

---

<div class="post-metadata">

**Author:** ![achamm](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/achamm/32/143734_2.png) [@achamm](https://community.n8n.io/u/achamm)\
**Post date:** [June 27, 2026, 10:27am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/2 "2026-06-27T10:27:46Z")

</div>

@AI4CCTV_Team the python code node runs through a task runner that needs Python 3 on the system, and that error means it cant find it. how are you running n8n, npm or docker? if its npm on windows, install Python 3 and make sure its on PATH, then restart n8n and internal mode will pick it up. if docker, the n8n image doesnt bundle python, youd switch to the n8nio/runners image in external mode (thats the docs link in your error).

---

<div class="post-metadata">

**Author:** ![AI4CCTV\_Team](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ai4cctv_team/32/179815_2.png) [@AI4CCTV\_Team](https://community.n8n.io/u/AI4CCTV_Team)\
**Post date:** [June 27, 2026, 10:29am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/3 "2026-06-27T10:29:45Z")

</div>

use npn , i have self hosted my n8n , in VPS Cloud

---

<div class="post-metadata">

**Author:** ![achamm](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/achamm/32/143734_2.png) [@achamm](https://community.n8n.io/u/achamm)\
**Post date:** [June 27, 2026, 10:31am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/4 "2026-06-27T10:31:23Z")

</div>

@AI4CCTV_Team on npm you just need Python 3 installed on the VPS itself and on PATH, then restart n8n and the runner picks it up. on ubuntu/debian thats apt install python3. one gotcha, if n8n runs as a systemd or pm2 service, python3 has to be on THAT services PATH, not just your login shell, so confirm with python3 --version from the same context n8n runs in.

---

<div class="post-metadata">

**Author:** ![AI4CCTV\_Team](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ai4cctv_team/32/179815_2.png) [@AI4CCTV\_Team](https://community.n8n.io/u/AI4CCTV_Team)\
**Post date:** [June 27, 2026, 10:58am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/5 "2026-06-27T10:58:29Z")

</div>

My VPS is a **Windows Server**! , Can you guide me step by step .

---

<div class="post-metadata">

**Author:** ![achamm](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/achamm/32/143734_2.png) [@achamm](https://community.n8n.io/u/achamm)\
**Post date:** [June 27, 2026, 11:01am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/6 "2026-06-27T11:01:01Z")

</div>

@AI4CCTV_Team honest heads up, the python runner is a known weak spot on Windows + npm in internal mode, n8n built it for docker/linux, so just installing python often isnt enough there. the supported route is external mode: npm install -g @n8n/task-runner, then start n8n with N8N\_RUNNERS\_MODE=external, N8N\_RUNNERS\_AUTH\_TOKEN=, and N8N\_RUNNERS\_TASK\_BROKER\_URI=localhost:5679, and run the runner alongside it. honestly the smoothest path on windows is running n8n in docker where the runner is built in. thread 237218 has people working through the exact windows steps if you want to follow along.

---

<div class="post-metadata">

**Author:** ![AI4CCTV\_Team](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ai4cctv_team/32/179815_2.png) [@AI4CCTV\_Team](https://community.n8n.io/u/AI4CCTV_Team)\
**Post date:** [June 27, 2026, 11:03am UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/7 "2026-06-27T11:03:26Z")

</div>

Okay thank you

---

<div class="post-metadata">

**Author:** ![Merrill](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/merrill/32/174822_2.png) [@Merrill](https://community.n8n.io/u/Merrill)\
**Post date:** [June 27, 2026, 6:11pm UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/8 "2026-06-27T18:11:19Z")

</div>

Hey @AI4CCTV_Team, since you asked for step-by-step, the easiest path on Windows Server is switching to Docker. the quickest way to get there:

1. Install Docker Desktop for Windows Server

Download from [docker.com](http://docker.com) and install it. Make sure it’s set to Linux containers mode.

2. Create a docker-compose.yml in a folder

```auto
services:

  n8n:

    image: docker.n8n.io/n8nio/n8n

    ports:

      - "5678:5678"

    volumes:

      - C:\n8n\data:/home/node/.n8n

    environment:

      - N8N_RUNNERS_ENABLED=true

```

3. Start it:

`docker compose up -d`

4. Open n8n at [http://localhost:5678](http://localhost:5678)

Python will work out of the box, the Docker image includes the task runner with Python 3 pre-installed. No PATH issues, no Windows compatibility headaches.

If you want to keep your existing workflows, copy your SQLite database from your current .n8n folder into C:\n8n\data before starting Docker.

---

<div class="post-metadata">

**Author:** ![pirateprentice](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pirateprentice/32/48360_2.png) [@pirateprentice](https://community.n8n.io/u/pirateprentice)\
**Post date:** [June 27, 2026, 7:31pm UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/9 "2026-06-27T19:31:09Z")

</div>

Here’s a concrete step-by-step for Windows Server + npm + external mode Python runner:

\*\*Step 1 - Install Python 3\*\*

- Download from [Python Releases for Windows | Python.org](http://python.org/downloads/windows) (3.11 or 3.12 recommended)

- During install, check “Add Python to PATH”

- After install, open a new Command Prompt and verify: `python --version`

\*\*Step 2 - Install the n8n task runner\*\*

```

npm install -g @n8n/task-runner

```

\*\*Step 3 - Stop your current n8n process\*\* (Ctrl+C, or stop the Windows service/pm2 process)

\*\*Step 4 - Set env vars and restart n8n in external mode\*\*

In Command Prompt (run as Administrator):

```

set N8N\_RUNNERS\_MODE=external

set N8N\_RUNNERS\_AUTH\_TOKEN=my-secret-token-here

set N8N\_RUNNERS\_TASK\_BROKER\_URI=localhost:5679

n8n start

```

(Replace `my-secret-token-here` with any random string - it just needs to match in both commands.)

\*\*Step 5 - Start the task runner in a second terminal window\*\*

```

n8n-task-runner start --n8n-uri=[http://localhost:5679](http://localhost:5679) --auth-token=my-secret-token-here

```

Use the exact same token in both Step 4 and Step 5.

\*\*Step 6 - Test it\*\*

Create a Code node set to Python and run it. The Python 3 is missing error should be gone.

\*\*Tip for production:\*\* To persist these env vars across reboots, set them via System Properties → Environment Variables (Windows GUI), or use a .env file with pm2 if that is how you are running n8n.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [September 25, 2026, 7:31pm UTC](https://community.n8n.io/t/python-version-3-install-in-self-hosted-plan/301212/10 "2026-09-25T19:31:26Z")

</div>

Closed on September 25, 2026, 7:31pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
