Last active
July 22, 2019 13:18
-
-
Save FangliangBai/cc66cfff3adced24b0533acfb96e2668 to your computer and use it in GitHub Desktop.
Transfer the venv from one computer to another one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Two computers install `Python` and `virtualenv` of same version. | |
2. On source computer: | |
pip freeze > requirements.txt | |
pip download -d your_offline_packages_folder_dir -r requirements.txt | |
3. On target computer: | |
pip install --no-index --find-links=your_offline_packages_folder_dir -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment