Repository navigation
It is possible to running a function using a python virtual environment instead always using global pip packages ? #164
Answered
by
jasneetkaurdeloitte
jasneetkaurdeloitte
asked this question in
Q&A
|
It is possible to running a function using a python virtual environment instead always using global pip packages ? |
Answered by
jasneetkaurdeloitte
Feb 4, 2025
Replies: 1 comment
|
Currently, running a function using a Python virtual environment instead of global pip packages is not supported directly on the platform. The idea of a virtual environment for individual packages is still being explored. However, a workaround is to install the necessary packages as a layer of a final Docker image. This involves taking the base Docker image, installing the required packages, and then deploying it separately. |
0 replies
Answer selected by
jasneetkaurdeloitte
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, running a function using a Python virtual environment instead of global pip packages is not supported directly on the platform. The idea of a virtual environment for individual packages is still being explored. However, a workaround is to install the necessary packages as a layer of a final Docker image. This involves taking the base Docker image, installing the required packages, and then deploying it separately.