> For the complete documentation index, see [llms.txt](https://time-series-features.gitbook.io/pyspi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://time-series-features.gitbook.io/pyspi/installing-and-using-pyspi/installation/alternative-installation-options.md).

# Alternative Installation Options

For users encountering issues with installing *pyspi,* we recommend you first consult the troubleshooting guide. If your issue has not been addressed, we offer three alternative installation options.&#x20;

## 1. Local Installation

***

To install *pyspi* using a local `pip` install, download or clone the [latest version](https://github.com/olivercliff/pyspi) from GitHub, unpack and install:

```bash
git clone https://github.com/DynamicsAndNeuralSystems/pyspi
cd pyspi
pip install .
```

***

## 2. *pyspi* Docker Image

***

> *Why should I use a **Docker** Image?*

By using a Docker image, you're not just simplifying the initial setup of *pyspi*, you're also setting the stage for a more reliable and reproducible workflow. Here are some reasons why we recommend users work with a Docker image:

1. **Ease of Setup:**

Configuration issues, operating systems compatibility problems, and dependency conflicts are a just a few of the hurdles you may encounter when trying to install any software package locally. A Docker image eliminates these hassles by providing you with a pre-configured, read-to-run container that has everything the software needs. Just download the image, and you're ready to go!

2. **Reproducibility:**&#x20;

Docker images encapsulate the entire runtime environment - the software, the exact versions of all packages and the necessary configurations. This ensures that the software runs identically, no matter where or when it's executed, and that your results are reproducible each time.&#x20;

### Using the *pyspi* Docker Image

To get started with using a *pyspi* docker image, follow these steps:

1. **Download the Docker Desktop Application**

   Install Docker Desktop from the [official Docker website](https://www.docker.com/products/docker-desktop/). This application runs Docker on your machine.&#x20;
2. **Create a Docker Account**

   Register for an account on [Docker Hub](https://hub.docker.com) if you haven't already. This account is needed to download ('pull') Docker images.&#x20;
3. **Pull and Run the pyspi Docker Image**

   With the Docker Desktop application running in the background, open the terminal or command prompt and run the following command:

   ```bash
   $ docker pull jmoo2880/pyspi:latest
   ```

   Now, to run the Docker image:

   ```bash
   $ docker run -it jmoo2880/pyspi:latest
   ```

This should start a python session with *pyspi* installed and ready to import.&#x20;

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://time-series-features.gitbook.io/pyspi/installing-and-using-pyspi/installation/alternative-installation-options.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
