![]() ![]() 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 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. 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. Specify the Python interpreter version with the python2 and python3 commands when you launch. Installing Python 3 on Linux python3 -version sudo apt-get update sudo apt-get install python3.6 sudo apt-get install software-properties-common. I have to use sudo to run the above command as root. The python command is not aliased by default in Oracle Linux 8. ![]() 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 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |