How to install packages offline?

后端 未结 10 904
一个人的身影
一个人的身影 2020-11-22 00:38

What\'s the best way to download a python package and it\'s dependencies from pypi for offline installation on another machine? Is there any easy way to do this with pip or

10条回答
  •  遥遥无期
    2020-11-22 01:03

    Download the tarball, transfer it to your FreeBSD machine and extract it, afterwards run python setup.py install and you're done!

    EDIT: Just to add on that, you can also install the tarballs with pip now.

提交回复
热议问题