Offline pip installation

2019-05-26 17:17发布

How can I install pip in an offline server? I have SSH access and can send files via scp. The server has Red Hat.

I did this https://pip.pypa.io/en/stable/installing.html#install-pip but tries to download something.

Is there a way to package pip and all its dependencies, so then I can send that to the server and install it from there? I already did this with python packages that to install with pip.

1条回答
小情绪 Triste *
2楼-- · 2019-05-26 17:33
  1. Download python-pip yum package. pip RHEL install, yum download package
  2. Move it to your offline machine
  3. Yum it
查看更多
登录 后发表回答