To answer my question (thanks to robertklep in the comments): I was not aware that apt install behaves differently compared to pip3. 'apt install' draws packages from linux distribution whereas pip3 draws packages from the supplier (in my case Pypi). I was trying to avoid venv“s because my code runs by a user and also by a service...i know there are solutions for this but it adds to complexity....