Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install Cheetah via python pip




Cheetah - Cheetah is a template engine and code generation tool., it belongs to Classifiers:

- Intended Audience :: System Administrators
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Internet :: WWW/HTTP :: Site Management
- Topic :: Software Development :: Code Generators
- Topic :: Software Development :: User Interfaces
- Topic :: Text Processing

When you know about this project and you want to new install Cheetah to support your project or you get trouble as ModuleNotFoundError: No module named "Cheetah" or ImportError: cannot import name "Cheetah" in your project, let follow this tutorial to install Cheetah



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_Cheetah_env

- Active the virtual environment

test_Cheetah_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_Cheetah_env

- Active the virtual environment

source test_Cheetah_env/bin/active


Step 2: OK, now, let flow below content to start the installation Cheetah

To install Cheetah on Windows(CMD):

py -m pip install Cheetah

To install Cheetah on Unix/macOs:

pip install Cheetah


Step 3: If you want to install a specific Cheetah version, add ==<Cheetah version> to the end command line

Example:

pip install Cheetah==0.9.18rc1                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
Cheetah 2.4.42010-12-13T03:50:19Windows:

py -m pip install Cheetah==2.4.4

Unix/macOs:

pip install Cheetah==2.4.4

Cheetah 2.4.32010-09-16T18:21:50Windows:

py -m pip install Cheetah==2.4.3

Unix/macOs:

pip install Cheetah==2.4.3

Cheetah 2.4.2.12010-03-01T05:12:47Windows:

py -m pip install Cheetah==2.4.2.1

Unix/macOs:

pip install Cheetah==2.4.2.1

Cheetah 2.4.22010-02-08T04:20:13Windows:

py -m pip install Cheetah==2.4.2

Unix/macOs:

pip install Cheetah==2.4.2

Cheetah 2.4.12009-12-19T23:31:45Windows:

py -m pip install Cheetah==2.4.1

Unix/macOs:

pip install Cheetah==2.4.1

Cheetah 2.4.02009-10-25T00:44:14Windows:

py -m pip install Cheetah==2.4.0

Unix/macOs:

pip install Cheetah==2.4.0

Cheetah 2.3.02009-10-25T00:52:14Windows:

py -m pip install Cheetah==2.3.0

Unix/macOs:

pip install Cheetah==2.3.0

Cheetah 2.2.22009-09-14T23:09:31Windows:

py -m pip install Cheetah==2.2.2

Unix/macOs:

pip install Cheetah==2.2.2

Cheetah 2.2.12009-06-02T22:16:53Windows:

py -m pip install Cheetah==2.2.1

Unix/macOs:

pip install Cheetah==2.2.1

Cheetah 2.0.12007-11-16T18:43:48Windows:

py -m pip install Cheetah==2.0.1

Unix/macOs:

pip install Cheetah==2.0.1

Cheetah 2.02007-10-12T23:05:05Windows:

py -m pip install Cheetah==2.0

Unix/macOs:

pip install Cheetah==2.0

Cheetah 1.02006-01-02T00:58:54Windows:

py -m pip install Cheetah==1.0

Unix/macOs:

pip install Cheetah==1.0


Step 4: Otherwise, you can install Cheetah from local archives:

Download the distribution file from Cheetah-2.4.4.tar.gz or the specific Cheetah version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_Cheetah_downloaded_file>

On Unix/macOs:

pip install <path_to_Cheetah_downloaded_file>


List distribution:

- Cheetah-1.0.tar.gz
- Cheetah-2.0rc7.tar.gz
- Cheetah-2.2.1.tar.gz
- Cheetah-2.2.2-1.src.rpm
- Cheetah-2.2.2-1.x86_64.rpm
- Cheetah-2.2.2.tar.gz
- Cheetah-2.3.0.tar.gz
- Cheetah-2.4.0-1.i586.rpm
- Cheetah-2.4.0.tar.gz
- Cheetah-2.4.1.tar.gz
- Cheetah-2.4.2.tar.gz
- Cheetah-2.4.2.1.tar.gz
- Cheetah-2.4.3.tar.gz
- Cheetah-2.4.4.tar.gz


Project link:

- Homepage