Skip to content

Xlwings library import dont work properly in Serverless Environment like Lambda

0

We are trying to make use of Xlwings library in the AWS Lambda environment to perform some functionalities on the excel file generation.

The lambda function returns reponse saying - { "errorMessage": "'NoneType' object has no attribute 'apps'" }

Lambda code has a line as -> app = xw.App(visible=False)

Is there any solution to the above error in the lambda environment?

asked a year ago382 views
1 Answer
0

Hi,

This repo does what you want with a Lambda : https://github.com/xlwings/xlwings-server-awslambda

Best,

Didier

AWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.