Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zeep AWS problem
#1
Hello guys,

Thanks in advance for helping me. I tried multiple times to upload zeep library in AWS lambda but it never works. I tried this one:

http://bedrosovayulia.blogspot.com/2019/...-zeep.html

https://github.com/JFox/aws-lambda-lxml

Even downloaded the compiled and zipped layer from her repo but still AWS complains that cannot find zeep.
https://github.com/BedrosovaYulia/Bitrix...ter/Layers

{
"errorMessage": "Unable to import module 'lambda_function': No module named 'zeep'",
"errorType": "Runtime.ImportModuleError",
"requestId": "21717c21-cadc-4f03-8133-884c774e23b0",
"stackTrace": []
}

What am I doing wrong, has someone faced that issue recently?
Reply
#2
(Oct-10-2022, 02:59 AM)centorillion Wrote: Hello guys,

Thanks in advance for helping me. I tried multiple times to upload zeep library in AWS lambda but it never works. I tried this one:

http://bedrosovayulia.blogspot.com/2019/...-zeep.html

https://github.com/JFox/aws-lambda-lxml

Even downloaded the compiled and zipped layer from her repo but still AWS complains that cannot find zeep.
https://github.com/BedrosovaYulia/Bitrix...ter/Layers

{
"errorMessage": "Unable to import module 'lambda_function': No module named 'zeep'",
"errorType": "Runtime.ImportModuleError",
"requestId": "21717c21-cadc-4f03-8133-884c774e23b0",
"stackTrace": []
}

What am I doing wrong, has someone faced that issue recently?

following, recently I had face the same issue, still not able to figure it out.
Reply
#3
did you try pip?
If you don't have lxml installed (seems zeep wants version 4.2.5) do this first:
pip install lxml==4.2.5 zeep

Otherwise: pip install zeep should be sufficient
see https://docs.python-zeep.org/en/master/ for all instructions.

it worked for me on Linux-mint (I already had lxml installed)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python zeep offline installation on RHEL akinmhmt 0 2,010 Mar-26-2020, 09:04 AM
Last Post: akinmhmt
  Zeep lib, encrypt soap body miha1234 0 2,853 Sep-12-2019, 07:52 AM
Last Post: miha1234
  need help in adding timestanp zeep wsse sachingle 3 4,995 Nov-07-2018, 10:05 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020