Brand new Installation fails at pip upgrade

EDIT: Disclosure - I’m brand new to the Mail-in-a-Box ecosystem and have no clue how it works. I just noticed this thread and decided to jump in.

I had the same issue… I got further down the install by copying Ubuntu’s built-in pip installation to the specified path:

sudo mkdir /usr/local/lib/mailinabox/env/bin
sudo cp /usr/bin/pip /usr/local/lib/mailinabox/env/bin/pip

I then ran into the blinker problem and “fixed” it by:

sudo apt remove python3-blinker

Then:

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

HOWEVER now I’m running into an issue where no matter what email I specify when creating my first mail account I get “That’s not a valid email address