Installing Cheetah3
Cheetah3 is a module of Python. To ensure normal compilation and installation of MongoDB, you need to install the Cheetah3 dependency.
- Go to the /root directory.
1cd /root
- Clone Cheetah3 in the Git code repository.
If the git clone command fails to be executed, replace github.com with github.com.cnpmjs.org and run the download command again.
1git clone -b 3.0.0 https://github.com/CheetahTemplate3/cheetah3.git

- Install Cheetah3.
- If the MongoDB version is 3.6.13 or 4.0.12, run the following commands:
1 2
cd /root/cheetah3 python2 setup.py install
- If the MongoDB version is 6.1.0, run the following commands:
1 2
cd /root/cheetah3 python3 setup.py install
Output for the start:

Output for the end:

- If the MongoDB version is 3.6.13 or 4.0.12, run the following commands:
Parent topic: Installing by Compiling Source Code