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.
Before installing Taipy, ensure you have Python (between version 3.8 and 3.11) and pip installed on your system. If you don't have pip installed, you can follow these steps to install it:
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 --versionto check the installed Python version.
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
Alternatively, if you are using a Conda environment, you can install pip using the following command:
$ conda install pip
To install Taipy, you have several options depending on your needs and preferences.
Installing Taipy - Stable release¶
The preferred method to install Taipy is by using pip. Open your terminal or command prompt and run the following command:
$ pip install taipy
This command will download and install the most recent stable release of 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:
Open a new Colab notebook: Visit Google Colab and start a new notebook.
Run the installation command: In a new cell, enter the following command and run the cell:
!pip install --ignore-installed taipy
This command installs the latest stable release of Taipy in your Colab environment.
Start building your app: Follow this tip to build and run your Taipy web application directly within the Colab notebook.
Remember that Google Colab environments are ephemeral. If you disconnect or restart your Colab session, you will need to reinstall Taipy.
Installing Taipy in a Conda Environment¶
Conda is an open-source package management system and environment management system that runs on Windows, macOS, and Linux.
If you prefer to work within a Conda environment, follow these steps:
- Create a new Conda environment (replace env-name with your desired environment name):
$ conda create -n env-name
- Activate the newly created environment:
$ conda activate env-name
- Install Taipy within the Conda environment using pip:
$ pip install taipy
Installing Taipy from Source¶
If you want to work with the latest development version or contribute to the project, you can install Taipy from the source code.
- Clone the public repository from GitHub (you'll need Git installed for this method):
$ git clone git://github.com/avaiga/taipy
- Download the tarball directly from GitHub:
$ curl -OJL https://github.com/avaiga/taipy/tarball/main
Once you have the source code, navigate to the directory containing the Taipy source code and run the following command:
$ pip install .
This will install Taipy from the source code on your system.
The commands mentioned above are for Unix-like systems (Linux, macOS), and you may need to adjust them slightly if you are using a different operating system such as Windows.