To avoid download python libraries when job run each time

In gitlab ci, when job runs, each time python libraries download and install. To avoid to install it each time.
Using shared runners. Please let me know what could be the solution for this?
Please kindly do the needful.