Sep-17-2019, 03:11 AM
if i use venv to create a virtual environment can it be copied (like with rsync) as part of copying all home directories, to a new system running a newer version of python? for example i am currently running ubuntu 18.04 that has python 3.6 and next year (i'm making plans, now) i will install ubuntu 20.04 with a repartition and reformat of all partitions. everything will be backed up to each of three 2TB USB hard drives plus AWS S3. i expect 20.04 to have python 3.7 or later (whatever is out at package version freeze). i am looking at creating python virtual environments and have read about people having trouble when the system python is upgraded (other than a bugfix). i still don't have full details about how a virtual environment works. apparently, activating it is required every time a new shell is started so i presume i modifies shell settings which could be a problem for me since i run a very modified shell.