标签: python amazon-web-services jenkins jenkins-pipeline boto3
我已经从Jenkins管道执行了python boto3脚本,该作业失败并出现以下错误-
boto3
import boto3 ImportError: No module named boto3
Jenkins在AWS EC2 t2.xlarge上运行,并且boto3模块安装在python2.7(默认)和python3.5上。 如果我使用ec2从ec2-user实例执行python脚本,则看不到上述错误。
AWS EC2
t2.xlarge
ec2
ec2-user
请让我知道这里的解决方案。
谢谢。