AWS Lambda and python numpy module

前端 未结 5 1475
梦毁少年i
梦毁少年i 2021-01-07 08:57

I am trying to import a python deployment package in aws lambda. The python code uses numpy. I followed the deployment package instructions for virtual env but it still gave

5条回答
  •  自闭症患者
    2021-01-07 09:34

    I was having this same issue and pip install wasn't working for me. Eventually, I found some obscure posts about this issue here and here. They suggested going to pypi, downloading the .whl file (select py version and manylinux1_x86_64), uploading, and unzipping. This is what ultimately worked for me. If nothing else is working for you, I would suggest trying this.

提交回复
热议问题