> For the complete documentation index, see [llms.txt](https://xplain-data.gitbook.io/community-edition/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xplain-data.gitbook.io/community-edition/python-services-overview/xplain-python-package/local-python-environment.md).

# local python environment

## Setting Up Your Python Environment

This guide will walk you through the process of setting up your local Python environment, installing necessary dependencies, and using useful tools and IDEs for an enhanced development experience with `xplain` python package.

### 1. Install Python and Dependency Packages

#### 1.1 Install Python

**Download Python**: Ensure you have Python 3 installed on your system. You can download the latest version of Python from the official website: [Python Downloads](https://www.python.org/downloads/).

#### 1.2 Install pip

`pip` is the package installer for Python. It is usually installed automatically with Python.&#x20;

### 2. Install `xplain` Python Package with pip

`xplain` is a package that can be installed using `pip`. Follow these steps to install and update the `xplain` package:

**2.1 Install `xplain`**:

* Run the following command:

```
pip install xplain
```

**2.2 Update `xplain`**:

* If you need to update the `xplain` package to the latest version, use the following command:

```
pip install xplain -U
```

### 3. Useful IDEs and Tools

To enhance your Python development experience, consider using the following Integrated Development Environments (IDEs) and tools:

#### 3. 1 PyCharm

* **Description**: PyCharm is a powerful IDE for Python, offering intelligent code completion, on-the-fly error checking, and a host of other features.
* **Download Link**: [PyCharm](https://www.jetbrains.com/pycharm/)

#### 3.2 Sublime Text 3

* **Description**: Sublime Text is a sophisticated text editor for code, markup, and prose. It offers a slick user interface and extraordinary features.
* **Download Link**: [Sublime Text 3](https://www.sublimetext.com/3)

#### 3.3 Jupyter

* **Description**: Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text.
* **Installation Guide**: [Jupyter Installation](https://jupyter.org/install)
