diff --git a/CHANGELOG.md b/CHANGELOG.md index 420b6797..a0f35d06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ CHANGELOG ========= +In Development +-------------- + +* Some users reported an error installing Mail-in-a-Box related to the virtualenv command. This is hopefully fixed. + Version 65 (October 27, 2023) ----------------------------- diff --git a/setup/management.sh b/setup/management.sh index 7fe4da25..50c24189 100755 --- a/setup/management.sh +++ b/setup/management.sh @@ -27,6 +27,12 @@ inst_dir=/usr/local/lib/mailinabox mkdir -p $inst_dir venv=$inst_dir/env if [ ! -d $venv ]; then + # A bug specific to Ubuntu 22.04 and Python 3.10 requires + # forcing a virtualenv directory layout option (see #2335 + # and https://github.com/pypa/virtualenv/pull/2415). In + # our issue, reportedly installing python3-distutils didn't + # fix the problem.) + export DEB_PYTHON_INSTALL_LAYOUT='deb' hide_output virtualenv -ppython3 $venv fi