如何離線安裝軟件包? - 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章