1👍
✅
UPDATE:
adding a file to my .ebextensions directory with this command fixed my issue:
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/02a_upgrade_pip.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
source /opt/python/run/venv/bin/activate
python3 -m pip install --upgrade pip
👤Alex
Source:stackexchange.com