serverless-python-requirements
serverless-python-requirements copied to clipboard
Can one be able to specify pip bin?
Using Fedora 33, the currently Python version on the system is 3.9, which by itself raised an error since AWS provider python runtime is 3.8.
After installing python 3.8 and set
custom: pythonRequirements: dockerizePip: non-linux pythonBin: /usr/bin/python3.8
is raises the error of pip not founded (since pip is now pip3.8).
For the matter, python 3.9 cannot be remove because some Fedora dependencies lies on the 3.9 version.
I tried to find some documentation about that on https://www.serverless.com/framework/docs/, but no success. I don't know if I didn't look enough, though.
Any ideas of how to resolve it?
I would suggest using a python virtualenv to resolve the issue