# Python Installation

### Install Python 3

First, check if python 3 is already installed.

Open CMD from your windows search

<figure><img src="https://2978144431-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhK79F6MpCuBt1OHFCP%2Fuploads%2FG78vYJpCmIq1PMys1Zuo%2Fimage.png?alt=media&#x26;token=eb24b653-77e4-45b7-b511-cdcb281d859b" alt=""><figcaption></figcaption></figure>

After opening CMD enter the below command

```bash
python --version
```

The above command should display a result like this:

![](https://2978144431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhK79F6MpCuBt1OHFCP%2F-MhK8YWUN_ru6eENvBko%2F-MhKDdtRe778EPs1oW7q%2Fimage.png?alt=media\&token=d47ffa7d-3835-4d51-aaee-b3de9cb743c2)

If the python version is not showing up and you get an error, please if double-check if python is properly installed and the python path is added to environment variables.

To install the latest python version visit the following link and download the installer.

{% embed url="<https://www.python.org/>" %}

![](https://2978144431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhK79F6MpCuBt1OHFCP%2F-MhK8YWUN_ru6eENvBko%2F-MhKK2EuYWTk0C3K8Nv9%2Fimage.png?alt=media\&token=69802745-a8ed-4f9a-aacf-3e0bb9e80a92)

Once downloaded, run the installer.

During the installation make sure you check the following option to add the python path to the environment variables, as shown below

<figure><img src="https://2978144431-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhK79F6MpCuBt1OHFCP%2Fuploads%2FPTuMDx4nESYsBt0Am7yG%2Fimage.png?alt=media&#x26;token=681d9d05-06c2-4132-ba72-0731f3caadd6" alt=""><figcaption></figcaption></figure>

![](https://2978144431-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhK79F6MpCuBt1OHFCP%2Fuploads%2FSxI0s5YN6cpPlfybPGRo%2Fimage.png?alt=media\&token=55a18ec1-8727-49b7-8987-dd60e995c76b)

> *Make sure that python is installed with "**all users**" option*

![](https://2978144431-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhK79F6MpCuBt1OHFCP%2Fuploads%2FiKietYwLX6HUG9PdXU2I%2Fimage.png?alt=media\&token=1524728a-61fc-4ec3-a3b8-0d11eaf85490)

Now open a new command prompt and run the following command to check the python version.

```bash
python --version
```

The output should print the python version


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.consoleflare.com/python/python-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
