手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

如何在python27中安装PIP

时间:2024-10-12 08:24:23
如何在python27中安装PIP

2、windows7 下先安装python2.7.1补朱锚卦332位:https://www.python.org/熠硒勘唏ftp/python/2.7.13/python-2.7.13.msi64位:https://www.python.org/ftp/python/2.7.13/python-2.7.13.amd64.msi1.下载(另存为)https://bootstrap.pypa.io/ez_setup.pypython ez_setup.py #安装 setuptools把这个复制到了python的安装目录,然后cmd到这个目录下执行上面的命令2.下载(另存为) https://raw.github.com/pypa/pip/master/contrib/get-pip.pypython get-pip.py install ##安装 pip3. 安装完毕之后会在系统目录下生成Scripts目录,里面有 :easy_install.exe 和 pip.exe 等可执行文件。最好,把python和python2.7.13/Scripts添加到系统配置文件path属性值里。这样就可以直接执行了,安装完pip和easy_installer工具后,以后再安装python其他库就方便了。

© 手抄报圈