I am running a Django project with docker. Now I want to install a Python package inside the Docker container and run the following command:
docker-compose django run pip install django-extra-views
Now when I do docker-compose up, I get an error ImportError: No module named 'extra_views'. docker-compose django run pip freeze doesn't show the above package either.
Am I missing something?