Skip to content

Instantly share code, notes, and snippets.

@belgotux
Last active March 16, 2023 09:25
Show Gist options
  • Save belgotux/94e748cc3ca36b1734724d5da814c17d to your computer and use it in GitHub Desktop.
Save belgotux/94e748cc3ca36b1734724d5da814c17d to your computer and use it in GitHub Desktop.
python pip -install offline librairies
mkdir pipdep && cd pipdep
echo pysocks > requirements.txt
echo pyvmomi >> requirements.txt
pip download -r requirements.txt
#rsync pipdep folder to target vm
pip install -r requirements.txt --no-index --find-links .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment