pip 与pip3

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pip 与pip3相关的知识,希望对你有一定的参考价值。

pip 3用于python3 版本

pip2 用于python2版本

pip好像可以通用

 

“pip2” is for Python2, “pip3″ is for Python3. “pip” will point to one of these depending on which Python is the default on your system.

If you are installing the packages system wide, you should either use your OS’s package manager or use “pip2” or “pip3” as appropriate. If you want the package to be available to both Python versions then you will need to install it twice. If your package is written to be compatible with both Python 2 and Python 3, then it will probably already be packaged for both versions.

You should also consider using a “virtualenv” instead of installing packages system-wide

以上是关于pip 与pip3的主要内容,如果未能解决你的问题,请参考以下文章

Pythonpip超详细教程,pip的安装与使用,解决pip下载速度慢的问题

多版本python的pip 升级后, pip2 pip3 与python版本失配

pip安装与使用

Python pip 安装与使用

Python pip 安装与使用

pip2 与 pip3