如何离线安装软件包? - How to install packages offline?

问题:

What's the best way to download a python package and it's dependencies from pypi for offline installation on another machine?从 pypi 下载 python 包的最佳方法是什么,它是在另一台机器上离线安装的依赖项? Is there any easy way to do this with pip or easy_install?有没有什么简单的方法可以用 pip 或 easy_install 做到这一点? I'm trying to install the requests library on a FreeBSD box that is not connected to the internet.我正在尝试在未连接到 Internet 的 FreeBSD 机器上安装请求库。


解决方案:

参考一: https://en.stackoom.com/question/kXR9
参考二: https://stackoom.com/question/kXR9
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章