pip offline package install

Solutions on MaxInterview for pip offline package install by the best coders in the world

showing results for - "pip offline package install"
Juan
28 Aug 2018
11 -  pip freeze > requirements.txt
22 -  mkdir wheelhouse && pip download -r requirements.txt -d wheelhouse
33 -  Copy requirements.txt into wheelhouse directory
44 -  Archive wheelhouse into wheelhouse.tar.gz with tar -zcf wheelhouse.tar.gz wheelhouse
5	 or make simply zip or rar file
65 -  Then upload wheelhouse.tar.gz or zip or rar to your target machine:
76 -  Execute 
8	 tar -zxf wheelhouse.tar.gz to extract the files or unzip
97 -  Execute 
10	 pip install -r wheelhouse/requirements.txt --no-index --find-links wheelhouse to install the libs and their dependencies