詹金斯无法找到Boto3模块

时间:2018-10-15 06:25:52

标签: python amazon-web-services jenkins jenkins-pipeline boto3

我已经从Jenkins管道执行了python boto3脚本,该作业失败并出现以下错误-

import boto3 ImportError: No module named boto3

Jenkins在AWS EC2 t2.xlarge上运行,并且boto3模块安装在python2.7(默认)和python3.5上。 如果我使用ec2ec2-user实例执行python脚本,则看不到上述错误。

请让我知道这里的解决方案。

谢谢。

0 个答案:

没有答案