But if you really want to install that package globally, or if need to test / use it frequently without activating a virtual environment, I suppose installing it as a global package is the way to go. The command above, will print the version of Pip installed. Once its ready, execute the command below to verify the installation. The package will not take long to install. I want to add that using a virtual environment is usually the preferred way to develop a python application, so answer is probably the best in an ideal world. Next, execute the command below to install Pip and all the dependencies needed for designing Python modules. Much python packages require also the dev package, so install it too: sudo apt-get install python3-devĬheck also Tobu's answer if you want an even more upgraded version of Python. If pip3 symlink does not exists, check for something like pip-3. If it doesn't work, this method should work for any Linux distro and supported version:
On some versions of Ubuntu the command is pip-3.2: sudo pip-3.2 install MODULE_NAME In the following sections, you will find step-by-step instructions on how to install pip for Python on Ubuntu 18.04 and Ubuntu 20. To install pip3, run command: sudo apt install python3-pip. To install python3, run command: sudo apt-get install python3. The short answer applies only on newer systems. First update your repository: sudo apt-get update. Source: Shashank Bharadwaj's comment Long Answer pandas has recently been updated to version 1 and the one in Ubuntu 20.04’s official repo is still 0.25.3. Sometimes, it is prefered to use a Python package manager to install pandas, especially if you want to use the latest pandas version. Short Answer sudo apt-get install python3-pip Method 2 Install pandas with pip on Ubuntu 20.04.