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