I'm not giving you a direct answer to your question, since you're describing an XY problem. This is your underlying, actual problem:
Everyone wants sudo user privilege because they claim they need to install python packages during their work
The issue is this: nobody needs to use sudo to install Python packages. In fact, that is highly discouraged. Particularly if you have multiple people using the same system, you couldn't prevent anyone from messing with system-level packages that others might require. What if there are version conflicts, breaking changes in some packages, etc.?
Solution 1 — User-level Installations
The real solution is to use user-level installations of Python packages. That is, instead of sudo pip install …, do:
pip install --user pandas
This will install the package into the respective user's home directory and leave the system package library alone.
I cannot stress this enough: nothing good ever comes from using sudo with pip.
Solution 2 — Pipenv or Poetry
An even better solution involves using pipenv or poetry, which create a virtual environment for packages to live in.
The packages and versions can even be different for different projects — this is particularly important if you need a package to stay at a given version for a while (e.g. pandas is notorious for changing its API; scipy has had some breaking changes a while ago, …).
I would have recommended Pipenv, but as of 2020, maintenance has been quite lacking, and there hasn't been any release for ages.
To use Poetry, just install it on a per-user level:
pip install --user poetry
Then initialize a new environment for the current project:
cd /path/to/project
poetry install pandas
This will create a new Poetry config file that specifies the requirements for the current project. Run poetry to find out more or read the documentation.
Solution 3 — pyenv
The best way to go about this would be to have users install their own Python version. You can use pyenv to create user-level installations of whole Python distributions. This way, users can use whatever Python version their Pipenv project was initialized with, e.g. stay at 3.7 for a while until they want to upgrade to 3.8.
This is particularly nice if you don't want to break everyone's packages by performing a system-level minor upgrade of Python, should it ever be required.
Bottom line: Don't give regular users sudo access if you don't need to. Have them use their own userspace for installing Python and/or Python packages.
Caveat: Some Python packages may need specific libraries in order to be built successfully. You cannot really avoid system-level installations of these libraries, but in such rare cases, an admin might be willing to sudo apt install … whatever library is needed.