I am using pants to manage django projects. But I ...
# general
a
I am using pants to manage django projects. But I have a problem with running commands using manage.py For instance: I have a django project named database_service and i have created a pex binary to run it using pants. However, running ./pants run app/database_service/manage.py -- runserver fails with an error:: "ModuleNotFoundError: No module named 'database_service"
c
Can you provide the full output of the command and show the relevant files. It sounds to me like you may need to look at your BUILD files - you need to tell pants that
database_service
folder is required for the pex binary target you made.