You should be able to run with a --uid flag and a random number, and still be able to access your pip modules inside the function.
Right now that is probably not the case, but if you look at the way we changed openfaas/templates for python3 this fix can be applied to the templates in this repo also.
You should be able to run with a
--uid
flag and a random number, and still be able to access yourpip
modules inside the function.Right now that is probably not the case, but if you look at the way we changed openfaas/templates for
python3
this fix can be applied to the templates in this repo also.