为什么pip是Windows中的二进制文件,而pip是Linux中的文本文件?

It's convenient to use pip to install python modules on different platforms: Windows, Linux, MacOS.

But I just don't understand, on Linux & Windows, pip corresponds to different stuff:

  • in Windows, pip is a binary file, whose full name is pip.exe

  • in Linux, which pip gives a path, pointing to a text file

Just curious why in Windows we can't use plain text for pip's content as in Linux?

评论