XSERVERに限らず、root権限の無い環境でpipを利用したい場合に応用できるはず。
venvの作成
$ python3.6 -m venv --without-pip venv3.6
$ source ./venv3.6/bin/activate
pipのインストール
以下のようにすればsetuptoolsとwheelも一緒にインストールしてくれる。
$ curl https://bootstrap.pypa.io/get-pip.py -o - | python
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1824k 100 1824k 0 0 6535k 0 --:--:-- --:--:-- --:--:-- 6731k
Collecting pip
Using cached pip-20.1-py2.py3-none-any.whl (1.5 MB)
Collecting setuptools
Using cached setuptools-46.1.3-py3-none-any.whl (582 kB)
Collecting wheel
Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-20.1 setuptools-46.1.3 wheel-0.34.2
【参考サイト】