Install Flask and the Required Dependencies in a Virtual Environment

To employ this Python Flask app, we will need to create a virtual environment in your system.

You can create a virtual environment by executing the following commands in your terminal.

copy
$
python3.9 -m venv myenv

copy
$
source myenv/bin/activate
copy
$
python3.9 -m venv myenv

copy
$
myenv\Scripts\activate

catalyst_tutorials_leadmanager_appsail_python_virtual_env

Now in the virtual environment you have just created, execute the following CLI command to install Flask and the required Catalyst SDK.

copy
$
python3 -m pip install zcatalyst-sdk

catalyst_tutorials_leadmanager_appsail_python_pip_install

Note: You can find out more about Catalyst SDK for AppSail from this help documentation.

After you install the packages, your project directory will appear like this: catalyst_tutorials_leadmanager_appsail_dir_view_post_pip

All the required packages for your Python Flask application have been installed.

Last Updated 2025-01-31 19:19:27 +0530 +0530

RELATED LINKS

Python SDK