Cannot ci/cd streamlit vs jenkins

Hello everyone. i try to cicd streamlit using jenkins.

pipeline {
    agent any

    stages {
        stage('Build') {
            steps {
                echo 'Building..'
                sh 'pip install opencv-python'
                sh 'pip install streamlit'
                echo 'Building done!'
            }
        }
        stage('Test') {
            steps {
                echo 'Testing....'
                sh 'pip install opencv-python'
                sh 'pip install streamlit'
                sh 'pip list'
                sh 'streamlit run human_color_labeling.py'
                echo 'Testing done!'
            }
        }
    }
}

The build process run ok, but test process i got below error:

<1s
+ streamlit run human_color_labeling.py

/var/lib/jenkins/workspace/jenkins_streamlit@tmp/durable-3591a35c/script.sh: 1: /var/lib/jenkins/workspace/jenkins_streamlit@tmp/durable-3591a35c/script.sh: streamlit: not found

script returned exit code 127**strong text**

Hi @tienduchoang, welcome to the Streamlit community!

In your output of pip list, it shows streamlit as having been installed? If you run which streamlit as part of the process, do you get a result?