
How to Install pandas on Linux, macOS and Windows Server
Create a Python virtual environment, activate it, and run python -m pip install pandas. On Debian 13 and Ubuntu 26.04 a plain pip install pandas fails with an externally-managed-environment error, so the virtual environment is not optional there.







