'Copy Python Venv to Offline VM

I am trying to run a project in a Virtual-Machine which has not network access (offline). How can I compress the venv, on the machine with network access, where I have all the libraries, and unpack and install the venv on the Virtual-Machine without using any network requirements?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source