# Executing wandb in AWS lambda

**URL:** <https://community.wandb.ai/t/executing-wandb-in-aws-lambda/5282>\
**Category:** W&B Help\
**Created:** [October 27, 2023, 12:01pm UTC](https://community.wandb.ai/t/executing-wandb-in-aws-lambda/5282 "2023-10-27T12:01:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asmita-kadam](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@asmita-kadam](https://community.wandb.ai/u/asmita-kadam)\
**Post date:** [October 27, 2023, 12:01pm UTC](https://community.wandb.ai/t/executing-wandb-in-aws-lambda/5282/1 "2023-10-27T12:01:22Z")

</div>

I am trying to initiate wandb in lambda\_handler function of aws lambda but getting error  
ServiceStartProcessError: The wandb service process exited with 1. Ensure that `sys.executable` is a valid python interpreter. You can override it with the `_executable` setting or with the `WANDB__EXECUTABLE` environment variable.  
I am giving wandb as a layer to the lambda function… and using python 3.11 … what am i missing?

---

<div class="post-metadata">

**Author:** ![raphael-sanandres](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@raphael-sanandres](https://community.wandb.ai/u/raphael-sanandres)\
**Post date:** [November 1, 2023, 6:51pm UTC](https://community.wandb.ai/t/executing-wandb-in-aws-lambda/5282/2 "2023-11-01T18:51:00Z")

</div>

Hello @asmita-kadam !

Would you mind letting me know what `wandb` version you would be installing? There was a past bug that was fixed in `0.15.5` that dealt with this issue on AWS Lambda.

---

<div class="post-metadata">

**Author:** ![raphael-sanandres](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@raphael-sanandres](https://community.wandb.ai/u/raphael-sanandres)\
**Post date:** [November 3, 2023, 8:42pm UTC](https://community.wandb.ai/t/executing-wandb-in-aws-lambda/5282/3 "2023-11-03T20:42:04Z")

</div>

Hi Asmita, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [December 31, 2023, 6:51pm UTC](https://community.wandb.ai/t/executing-wandb-in-aws-lambda/5282/4 "2023-12-31T18:51:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
