You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this package to deploy api to AWS Lambda. I use poetry for package management and set dockerizePip to non-linux as I am not able to build numpy properly. I would like to include another python package, one that I created locally. In poetry I do simply:
common = {path = "../common/dist/common-0.1.0-py3-none-any.whl"}
But I cannot find a way to include this package into serverless package created using ’sls package’. I'm stiil getting an error like:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/var/task/common-0.1.0-py3-none-any.whl'
And setting :
dockerExtraFiles:
- ../common/dist/common-0.1.0-py3-none-any.whl’
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using this package to deploy api to AWS Lambda. I use poetry for package management and set dockerizePip to non-linux as I am not able to build numpy properly. I would like to include another python package, one that I created locally. In poetry I do simply:
common = {path = "../common/dist/common-0.1.0-py3-none-any.whl"}
But I cannot find a way to include this package into serverless package created using ’sls package’. I'm stiil getting an error like:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/var/task/common-0.1.0-py3-none-any.whl'
And setting :
dockerExtraFiles:
- ../common/dist/common-0.1.0-py3-none-any.whl’
Does not help.
I would appreciate any help
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions