TIBCO Cloud API Management - Local Edition 5.5.2 - tml-installer issue : error: Can not find Rust compiler

TIBCO Cloud API Management - Local Edition 5.5.2 - tml-installer issue : error: Can not find Rust compiler

book

Article ID: KB0071995

calendar_today

Updated On:

Products Versions
TIBCO Cloud API Management - Local Edition ML 5.5.2

Description

If an error occurs when installing TIBCO Cloud API Management - Local Edition 5.5.2 which looks like:

=============================DEBUG ASSISTANCE=============================
  
  error: can't find Rust compiler

This package requires Rust >=1.56.0.
  ----------------------------------------
  ERROR: Failed building wheel for bcrypt

then follow the steps mentioned in the resolution section below.
 

 

 

 

Issue/Introduction

How to resolve "Cannot find Rust Compiler" Error while building TIBCO-Cloud-API-Management-Local-Edition-5.5.2 version

Resolution

1. Go to the directory where TIBCO Cloud 5.5.2 was extracted and open Dockerfile via Terminal/Putty. 
2. Add “pip install --upgrade pip && \” on 9th line before “pip3 install awscli” . Here’s how line 9th and 10th should look like in the Dockerfile: 
   9     pip install --upgrade pip && \
  10   pip3 install awscli

3. After editing and saving the Dockerfile, run the ML installer script via : ./start-installer.sh <IP> 8080 command which should successfully bring the tml-installer container up without any issues.