

It is recommended to use either pip or conda if you are using Anaconda distribution to install pandas. In this article, I have covered different ways to install python pandas on Windows, Linux, and Mac OS. If you wanted to install to a specific user then use -user option To upgrade to Python 3.6 on my Windows workstation, I simply downloaded an. sudo apt-get update sudo apt-get install python3 python3 is already the newest version. However, the repository is saying that Python 3.4.2 is the newest version.

If you are not the root user then use sudo as by default python packages are installed in the system directory where you may not have permission to write files. I'd like to install the latest Python, which is 3.6 at the time of this post. On Mac OS, you can use either pip or conda to install pandas. On Linux distribution you may not find all pandas versions hence, the recommended approach would be using pip and conda. I have to use sudo to run the above command as root. On Linux, you can either use above mentioned commands pip & conda) or use the Linux distribution package manager to install python pandas, so depending on the flavor of Linux you are using the command would change. If you wanted to install pandas after creating the Conda environment then run the following commands
