Search code examples
djangowebsocketdjango-channelsdaphne

Unable to located Package Daphne


I'm deploying a django app including django channels using nginx, gunicorn and daphne. But when i install daphne with sudo apt install daphne, it gives E: unable to locate package daphne.

What Should I do?


Solution

  • Daphne is a Python package on PyPI that can be installed using pip:

    pip install daphne