I'm unable to understand the permission issues at the Python package level between superuser and user. My project depends on flask, flask-restful etc. I installed these packages as superuser (sudo su -) using pip install and they installed fine.
But when I try to import these packages, I get error that no module was found when invoking with user level vs no error at su level. Here is a snapshot:-
Doing the same thing with normal user privilige:-
How do I solve this? I.e. I want to be able to access all package functionality from my user account.