How about using requirements.txt ?
requirements.txt
djlint==1.36.4
Then run
$ pip install -r requirements.txt