Skip to content

Latest commit

 

History

History
171 lines (138 loc) · 5.88 KB

INSTALLATION.md

File metadata and controls

171 lines (138 loc) · 5.88 KB

Welcome to the installation section of the Taipy web application builder! This section will guide you through the seamless and straightforward process of setting up and deploying your own powerful web applications.

!!! note "Installation for Contributing to Taipy"

If you aim to modify the Taipy source code or contribute to its development, please refer
to the contributing page to get more information.

Installing Taipy library

Prerequisite

Before installing Taipy, ensure you have Python (version 3.9 or later) and pip installed on your system. If you don't have pip installed, you can follow these steps to install it:

  1. Python Installation Guide: Follow the installation guide to set up Python on your system. After the installation, you can open the Command Prompt and type python --version to check the installed Python version.

  2. Installing pip: Pip is included by default if you use Python 3.4 or later. Otherwise, you can follow the official installation page of pip to install it. To verify the installation, type pip --version or pip3 --version.

Alternatively, if you are using a Conda environment, you can install pip using the following command:

conda install pip

The latest stable release from Pypi

Pip

The preferred method to install Taipy is by using pip. After downloading Taipy package from PyPI repository the following commands install it in the Python environment with all its dependencies. Open your terminal or command prompt and run the following command:

pip install taipy

Pipenv

If you are using a virtual environment with Pipenv, use the following command:

pipenv install taipy

Venv

Alternatively, you can use venv to create a virtual environment. Please run the following commands replacing <myenv> (twice) with your desired environment name:

python -m venv <myenv>
source myenv/bin/activate  # On Windows use `<myenv>\Scripts\activate`
pip install taipy

Conda

If you prefer to work within a Conda environment, you can install Taipy using the following commands replacing <myenv> with your desired environment name:

conda create -n <myenv>
conda activate <myenv>
pip install taipy

A specific version from PyPI

Pip

To install a specific version of Taipy, use the following command replacing <version> with a specific version number of Taipy among the list of all released Taipy versions:

pip install taipy==<version>

Pipenv

If you are using a virtual environment with Pipenv, use the following command:

pipenv install taipy==<version>

Venv

Alternatively, you can use venv to create a virtual environment:

python -m venv myenv
source myenv/bin/activate  # On Windows use `myenv\Scripts\activate`
pip install taipy==<version>

Conda

If you prefer to work within a Conda environment, you can install Taipy using the following commands replacing <myenv> with your desired environment name:

conda create -n <myenv>
conda activate <myenv>
pip install taipy==<version>

A development version from GitHub

Pip

The development version of Taipy is hosted on GitHub repository using the develop branch. This branch is updated daily with changes from the Taipy R&D team and external contributors whom we praise for their input.

The development version of Taipy can be installed using pip. After downloading Taipy source code from the GitHub repository the following commands build the package, and install it in the Python environment with all its dependencies.

Open your terminal or command prompt and run the following command:

pip install git+https://[email protected]/Avaiga/taipy

Pipenv

If you are using a virtual environment with Pipenv, use the following command:

pipenv install git+https://[email protected]/Avaiga/taipy

Venv

Alternatively, you can use venv to create a virtual environment:

python -m venv myenv
source myenv/bin/activate  # On Windows use `myenv\Scripts\activate`
pip install git+https://[email protected]/Avaiga/taipy

Conda

If you prefer to work within a Conda environment, you can install Taipy using the following commands replacing <myenv> with your desired environment name:

conda create -n <myenv>
conda activate <myenv>
pip install git+https://[email protected]/Avaiga/taipy

Installing Taipy with Colab

Google Colab is a popular and free Jupyter notebook environment that requires no setup and runs entirely in the cloud. To install Taipy in Google Colab, follow these simple steps:

  1. Open a new Colab notebook: Visit Google Colab and start a new notebook.

  2. Run the installation command: In a new cell, enter the following command and run the cell to install the latest stable release of Taipy in your Colab environment:

    !pip install --ignore-installed taipy
  3. Start building your app: Follow this tutorial to build and run your Taipy web application directly within the Colab notebook.

!!! tip Remember that Google Colab environments are ephemeral. If you disconnect or restart your Colab session, you will need to reinstall Taipy.