Skip to content

Can one be able to specify pip bin? #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mgrazianoc opened this issue Jan 13, 2021 · 1 comment
Closed

Can one be able to specify pip bin? #582

mgrazianoc opened this issue Jan 13, 2021 · 1 comment

Comments

@mgrazianoc
Copy link

mgrazianoc commented Jan 13, 2021

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?

@rileypriddle
Copy link
Contributor

I would suggest using a python virtualenv to resolve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants