Skip to content

Unable to get good binding pathΒ #232

Open
@jfaraklit

Description

@jfaraklit

Hi,

I have a serverless project that uses a couple of python libs. One of them is gdal.
My requirment.txt looks like this
numpy xarray boto3 gdal

and part of my serverless.yml looks like this

image

When I have dockerizePip: true or dockerizePip: no linux deploying with sls deploy I get below error
image

If I set dockerizePip: false and do 'sls deploy' I get below error
image

If I remove gdal from the requiment.txt and set dockerizePip: false and do 'sls deploy' it works fine but the function will not have gdal on AWS.

This is in packages.json "serverless-python-requirements": "^4.1.1"

I have docker installed on windows.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions