Skip to content

Install from requirements.txt #81

@VenturaFranklin

Description

@VenturaFranklin

This is an awesome project and I appreciate your work!

When installing from pip install -r requirements.txt the install will fail because in setup.py for django-plotly-dash has the line import django_plotly_dash as dpd which requires dash, django, etc. to work.

See point 6. https://packaging.python.org/guides/single-sourcing-package-version/

Although this technique is common, beware that it will fail if sample/__init__.py imports packages from install_requires dependencies, which will very likely not be installed yet when setup.py is run.

I was able to get it working by removing django-plotly-dash from the requirements.txt file and installing it separately after everything else. I don't know if you like any other methods proposed for version number, but I thought you would like to know about the issue.

Thank you again for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions