[Django]-Elastic Beanstalk: /bin/sh: /opt/python/run/venv/bin/activate: No such file or directory

2👍

This does not work because you are using Amazon Linux 2, while the tutorial you are following is using Amazon Linux 1.

To use Amazon Linux 1 when you create your Python environment, please choose:

Python 3.6 running on 64bit Amazon Linux

Please note that there are massive differences between AL2 and AL1, and most tutorials involving AL1 will not work in AL2.

👤Marcin

Leave a comment