On Linux (Debian / Ubuntu versions), when NOT installed inside a virtual environment, but on the main system, I find it best to use the Synaptic package manager (because even the -user switch seems to fail when trying to install pandas without sudo ) Find pandas inside Synaptic PM. There are varieties for python 2 and 3.

However, on linux, I usually found the cleanest, easiest, and most general secure approach for creating virtual environments, and then used pip install <package name> inside the virtual environment. I believe this would be best on Windows.
Thom ives
source share