Skip to main content

Install Shapelets

There are various methods to set up your development environment and install Shapelets Data Apps.

Keep on reading to understand these methods.

Binary Installation

To install a binary distribution, the only requirement is to have a working version of Python (recent, 3.8 and onwards) in your system. If you don’t have Python yet, you can download it here.

To install Shapelets Data Apps using pip, you can run:

pip install shapelets-apps

Validate the installation by executing the following Python script:

import shapelets.apps

print(shapelets.apps.__version__)

note

It's a good idea to use a virtual environment or Docker to avoid conflicts with the libraries installed on your system. If you're not familiar with these methods, you can find instructions below

Virtual environment

To install Shapelets Data Apps in a secure environment, you can create a virtual environment. This will allow you to safely install Shapelets Data Apps without risking any system conflicts. We'll show you how to do this in the following steps.

  1. Create a directory called shapelets_apps:

    mkdir shapelets_apps
  2. Navigate to said directory:

    cd shapelets_apps
  3. Create a virtual environment:

    pyhton -m venv .venv
  4. Activate your newly created virtual environment:

    # Linux and macOS
    source ./venv/bin/activate

    # Windows CMD
    .venv\Scripts\activate.bat

    # Windows PowerShell
    .venv\Scripts\Activate.ps1
  5. Install Shapelets Data Apps

info

Shapelets installation via conda is still in development

Recommendations

Once you install Shapelets Data Apps, you are ready to use it. If you want a recommendation about development environments, we recommend you:

  • To write and execute code interactively for Exploratory Data Analysis and Data Processing, use notebooks in JupyterLab

  • To write large scripts for processing data or build Data Apps use an IDE like Visual Studio Code