Depending on your operating system, install Python (3.8.5 or higher):
To install latest Python3 from OS repository on CentOS, perform the following steps:
yum install -y python3
To install Python3 on Linux or Ubuntu, perform the following steps:
apt update
apt-get install python3.10 apt install python3-pip
To install Python3 on Windows, see Using Python on Windows.
To verify if the recommended Python version is installed correctly, perform the following steps:
Run the following command using the command prompt:
CentOS/Linux/Ubuntu
$ python3 --version
Windows
$ python--version
If Python is installed, the version details are displayed. Ensure that the version is 3.8.5 or higher.
Run the following command to verify if PIP is installed.
$ pip
If PIP is installed, the pip
command usage, commands and other general options are displayed.
To install all Python dependencies, perform the following steps:
From the command prompt, navigate to the downloaded
$ pip install -r requirements.txt
A .aws folder is automatically created under C:\Users\TestUser.
From the downloaded CFT folder, locate and open the credentials file with a text editor.
Figure 42 : CFT folder
Update the access key ID and secret access key as per your AWS account and then save the changes.
[default] aws_access_key_id = your_aws_access_key_id aws_secret_access_key = your_aws_secret_access_key
Update region with your working region and then save the changes.
[default] region = you_working_region output = json