PIP ERROR - setup/functions.sh: line 19: /usr/local/lib/mailinabox/env/bin/pip: No such file or directory

Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
Installing nsd (DNS server)…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
wal
Installing Nextcloud (contacts/calendar)…
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
Installing Mail-in-a-Box system management daemon…

FAILED: /usr/local/lib/mailinabox/env/bin/pip install --upgrade pip

setup/functions.sh: line 19: /usr/local/lib/mailinabox/env/bin/pip: No such file or directory

i get this error when installing . i tried using

export DEB_PYTHON_INSTALL_LAYOUT='deb'

but still doesnt work.

UPDATE :
i ran

ln -s /usr/local/lib/mailinabox/env/local/bin/pip /usr/local/lib/mailinabox/env/bin/pip

which seems to fix it somehow but then i got

ERROR: Cannot uninstall ‘blinker’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

UPDATE ONCE AGAIN
i ran :

sudo /usr/local/lib/mailinabox/env/bin/pip install --upgrade rtyaml "email_validator>=1.0.0" "exclusiveprocess" flask dnspython python-dateutil expiringdict gunicorn qrcode[pil] pyotp "idna>=2.0.0" "cryptography==37.0.2" psutil postfix-mta-sts-resolver b2sdk boto3

which worked but , it seems i cant get past this


when i press enter , it seems like email validator is not installed even tho its specified in the command i ran above,.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.