13 May
2021
13 May
'21
9:51 p.m.
Ruth Ivimey-Cook wrote:
[Regarding OS upgrades with Python venvs]
What worked for me in the end was a combination of forcing a complete rebuild/reinstall with the mailman3 python3.8 install, followed by a bit of rejigging of file permissions and settings (probably because I'd messed something up, but maybe not).
Personally I quite often rebuild the venv from scratch. It’s a case of stopping the services, moving the old venv out of the way, then creating the new one and running Pip to get the needed packages in. I've done this on a similar Ubuntu 18.04 --> 20.04 upgrade in the past as well. This also pulls in later packages for some of the other dependencies which wouldn't necessarily get caught on a standard upgrade.
Andrew.