How would you bootstrap python virtualenv on RHEL5 without root access? -
i know how install packages if root, if can't, how create virtualenv scratch, without root access. bootstrap steps create enough of virtualenv begin pip installing things.
from docs, can add --user installation flags pip install setuptools et al user site-packages:
python get-pip.py --user see https://pip.pypa.io/en/latest/installing.html
once that's done, can do:
pip install --user virtualenv which install virtualenv user site-packages too. there, can run virtualenv normal way.
Comments
Post a Comment