詹金斯找不到boto3 modu

2024-09-29 17:15:17 发布

您现在位置:Python中文网/ 问答频道 /正文

我从Jenkins pipeline执行了一个pythonboto3脚本,作业失败,错误如下-

import boto3 ImportError: No module named boto3

Jenkins运行在AWS EC2t2.xlarge,python2.7(默认)和python3.5上安装了boto3模块。 如果我用ec2-userec2实例执行python脚本,我看不到上面的错误。在

请让我知道任何解决办法。在

谢谢。在


Tags: noimport脚本awspipeline错误作业boto3

热门问题