pythonpandaspip

what is the difference between pip install panda & pip install pandas. please note that one is without an S


I'm running on Windows 10 and I accidentally typed into the command prompt:

pip install panda

I'm afraid the above line could've downloaded and installed something malicious onto my PC.

Please note that the official command for Pandas is with an "S":

pip install pandas

P.S: @Python community, please remove "Panda" library as this is a very common mistake. Please let "pip install panda" return an error msg like, library not found.


Solution

  • The main difference is you are installing two different things from PyPI (official package manager for python):

    The first one according to PyPI description is "A Python implementation of the Panda REST interface" which belongs to this https://www.telestream.net/telestream-cloud/overview.htm company. so don't worry it's not something malicious. And I don't think it's something illegal to have a name similar to other packages.

    and

    The second one according to PyPI description "Powerful data structures for data analysis, time series, and statistics" which is the famous Pandas package that everyone uses for data manipulation purposes.