Skip to content

Error while deploying on Elastic beanstalk #64

@BismeetSingh

Description

@BismeetSingh

This is the issue I am facing :
https://stackoverflow.com/questions/68556218/add-packages-outside-of-pip-to-elastic-beanstalk.
I am trying to install django-betterforms on elastic beanstalk using the setup.py.
On the local machine,its fine,but I cant seem to get elastic beanstalk to install it. I have added this line in the requirements.txt: -e git://github.com/jpic/django-git.betterforms
I get this in the logs: Extracting django_betterforms-1.2.2-py3.8.egg to /var/app/venv/staging-LQM1lest/lib/python3.8/site-packages django-betterforms 1.2.2 is already the active version in easy-install.pth

Which states that django-betterforms is installed.

Also, on doing cat easy-install.pth I get : ./django_betterforms-1.2.2-py3.8.egg

But,later in the logs AWS throws : ModuleNotFoundError: No module named 'betterforms'

Also, if I try to ssh into the environment and try to import betterforms,python can't find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions