I encountered problems with dependencies in python projects only when AI/ML libraries were used pytorch/scikit-learn/etc
NPM on the other hand: it broke in every project and in trivial cases. E.g. upgrade of postgresql lib.
I hope that deno/smth other will make possible to forget npm finally