Elastic beanstalk containers have theis python venv located at "/var/app/venv/staging-LQM1lest"
But what does "LQM1lest" even mean? Not a singe documentation page mentions it.
Is there way to get it programmatically? Because its really looks like random string and a subject of change, i dont like the idea of hardcoding it in deploy scripts.
The python path env should be available through PYTHONPATH
environment variable.
You can also source
it and export
manually if you want (as root):
source /opt/elasticbeanstalk/deployment/env
export PYTHONPATH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With