# Remove Previous Python Versions

Before installing the required version, you **must** remove any existing Python installations to avoid conflicts. SpectraAI is designed to work **exclusively with Python 3.11.9**.

***

1. Open your Windows **Settings** (Win + I).
2. Navigate to **Apps** > **Installed Apps**.&#x20;

<div align="right" data-full-width="false"><figure><img src="/files/vi8oyKYTjcjVXD1uuHG0" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/mzNpT5Md6ckb1WQySuF8" alt="" width="375"><figcaption></figcaption></figure></div>

3. Search for "Python".

<figure><img src="/files/6Jw5iTNhvcvaghtlyccx" alt="" width="375"><figcaption></figcaption></figure>

4. Uninstall **all** versions listed (e.g., Python 3.10, Python 3.12, Anaconda, etc.).
   * Click the three dots (...) next to the app and select "Uninstall".

***


---

# 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://spectra-2.gitbook.io/spectra-ai/setup/environment-setup-and-software-installation/remove-previous-python-versions.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.
