You can convert real linux disk images into VBox images:
VBoxInstallDir\VBoxManage convertdd source.img target.vdi --format VDI
tar -xzf file.tar.gz
for GZIPtar -xJf file.tar.xz
for XZ
- For python 2:
python2.7
andpython-virtualenv
- For python 3:
python3
andpython3-virtualenv
virtualenv -p /bin/python2.7 /home/user/my2.7
Repair virtualenv
- Create a new virtualenv for your version
- Copy
lib/python2.7/site-packages
from the old env to the new one