Offline pip installation

南笙酒味 提交于 2019-12-10 11:01:43

问题


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:


  1. Download python-pip yum package. pip RHEL install, yum download package
  2. Move it to your offline machine
  3. Yum it


来源:https://stackoverflow.com/questions/32321927/offline-pip-installation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!