@mcc python3 -m pdm implies that whichever 'python3' that is can import 'pdm'. But pipx installed pdm has its own virtualenv and thus its own 'python3', which you never see.