首页 > 编程语言 >python2.7安装pip

python2.7安装pip

时间:2024-11-15 15:41:24浏览次数:1  
标签:info script egg py python2.7 build pip 安装

我的python版本号具体信息如下:

Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

python2.7没有自带pip工具,需要安装一个setuptools包,

我使用的python2.7与之对应的setuptools版本是setuptools-0.6c11,

然后才能安装与之对应的pip1.5.

去官网下载该文件的源码包,解压后,cmd进入里面的文件夹,运行:

python2 setup.py install

然后出现超长的文本,类似如下说明setuptools安装成功:

-

C:\Users\rkey\Downloads\setuptools-0.6c11>python2 setup.py install

running install
running bdist_egg
running egg_info
writing requirements to pip.egg-info\requires.txt
writing pip.egg-info\PKG-INFO
writing top-level names to pip.egg-info\top_level.txt
writing dependency_links to pip.egg-info\dependency_links.txt
writing entry points to pip.egg-info\entry_points.txt
reading manifest file 'pip.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pip\cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs\_build'
no previously-included directories found matching 'docs\_build\_sources'
writing manifest file 'pip.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
creating build\lib
creating build\lib\pip
copying pip\basecommand.py -> build\lib\pip
copying pip\baseparser.py -> build\lib\pip
copying pip\cmdoptions.py -> build\lib\pip
copying pip\download.py -> build\lib\pip
copying pip\exceptions.py -> build\lib\pip
copying pip\index.py -> build\lib\pip
copying pip\locations.py -> build\lib\pip
copying pip\log.py -> build\lib\pip
copying pip\pep425tags.py -> build\lib\pip

...

Installing easy_install-2.7.exe script to C:\application\Python\Python27\Scripts
Installing easy_install-2.7.exe.manifest script to C:\application\Python\Python27\Scripts

Installed c:\application\python\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11

-

然后下载并解压安装python2.7与之对应的pip源码包pip-1.5,进入里面的文件夹,运行:

python2 setup.py install

然后又出现超长的文本,类似如下,说明安装成功:

-

C:\Users\rkey\Downloads\pip-1.5>python2 setup.py install
running install
running bdist_egg
running egg_info
writing requirements to pip.egg-info\requires.txt
writing pip.egg-info\PKG-INFO
writing top-level names to pip.egg-info\top_level.txt
writing dependency_links to pip.egg-info\dependency_links.txt
writing entry points to pip.egg-info\entry_points.txt
reading manifest file 'pip.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pip\cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs\_build'
no previously-included directories found matching 'docs\_build\_sources'
writing manifest file 'pip.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg

...

Adding pip 1.5 to easy-install.pth file
Installing pip-script.py script to C:\application\Python\Python27\Scripts
Installing pip.exe script to C:\application\Python\Python27\Scripts
Installing pip.exe.manifest script to C:\application\Python\Python27\Scripts
Installing pip2.7-script.py script to C:\application\Python\Python27\Scripts
Installing pip2.7.exe script to C:\application\Python\Python27\Scripts
Installing pip2.7.exe.manifest script to C:\application\Python\Python27\Scripts
Installing pip2-script.py script to C:\application\Python\Python27\Scripts
Installing pip2.exe script to C:\application\Python\Python27\Scripts
Installing pip2.exe.manifest script to C:\application\Python\Python27\Scripts

Installed c:\application\python\python27\lib\site-packages\pip-1.5-py2.7.egg
Processing dependencies for pip==1.5
Finished processing dependencies for pip==1.5

-

标签:info,script,egg,py,python2.7,build,pip,安装
From: https://www.cnblogs.com/r-key/p/18548096

相关文章

  • openVAS安装记
    项目需要使用openVAS安装步骤我这里使用的是Ubuntu最新版,因为Ubuntu和debian可通过官网仓库进行安装,因改名为gvm后续直接上操作#安装sudoaptinstallgvm-y#初始化(可能时间比较长,台会去下载数据库)sudogvm-setup#开机自启服务sudosystemctlenablenotus-scannerg......
  • 【Xmanager 8软件下载与安装教程】(功能最全面的X服务器)
    1、安装包「Xmanager8」:链接:https://pan.quark.cn/s/4bc243c8df30提取码:1GUR2、安装教程(建议关闭杀毒软件与本地防护设置)1)       双击Xmanager-8.0.0055r.exe安装,弹窗安装对话框  2)       点击下一步  3)       选择‘我接受。。’,点......
  • 【如何安装 域控 林】
    1.先上拓扑2.步骤(139sina.com)说明:没有截图的步骤基本就是默认,下一步就好。首先在第一台机器上安装域140bj.sina.com141sohu.com先独自安装DNS创建正向区域,使其能够解析sohu.com为本机为sina.com设置转发同理,为sohu.com设置转发使两台机器能够相......
  • 【Xftp 8软件下载与安装教程】
    1、安装包「Xmanager、Xshell、Xftp、Xlpd」:链接:https://pan.quark.cn/s/56cdadc855dd提取码:EckX2、安装教程(建议关闭杀毒软件与本地防护设置)1)       双击Xftp-8.0.0055r.exe安装,弹窗安装对话框  2)       点击下一步  3)       选择‘......
  • 国标GB28181-2016平台LiteGBS国标GB28181视频平台球机安装好后发现云台不受控制的解决
    随着视频技术的不断进步,视频监控、直播、执法记录仪等多种视频资源的应用场景愈发广泛且多样化。LiteGBS国标GB28181视频平台不仅在数量上快速增长,更在质量、格式及编码标准等方面展现出极高的多样性。因此,为了实现对这些资源的有效整合和统一管理输出,信息化项目中对于视频综合接......
  • 【Ubuntu】在Ubuntu上安装微信
    【Ubuntu】在Ubuntu上安装微信零、说明微信官网最近发布了Linux的测试版本,实际使用下来与Windows版本相差不多,本文介绍如何在Ubuntu(Debian系)上安装Linux版本的微信。壹、下载打开Linux微信官网:https://linux.weixin.qq.com/,根据自己的处理器架构选择对应的deb格式版本,我这边是......
  • centos7.9安装zabbix6.0
    一.安装zabbix1.官网下载tar包,下载链接:https://cdn.zabbix.com/zabbix/sources/stable/6.0/zabbix-6.0.35.tar.gz右键复制链接到linux终端使用wget命令下载,或者下载到本地再上传到linux服务器2.解压下载好的tar包创建虚拟用户和组,使用zabbix用户运行服务 1groupa......
  • neo4j 3.5.5安装应用--(对应jdk1.8)
    开始知识图谱技术研究与应用......首先选择非SQL数据库,选择了较为经典且流传广的neo4j数据库,由于一直在用的jdk为jdk1.8版本,为进行适配的,故选择了neo4j3.5.5版本,本文以neo4j3.5.5版本进行安装应用测试。感谢博主提供的参考信息:https://blog.csdn.net/clion_TQJ/article/details/1......
  • 国标GB28181视频平台EasyCVR视频分析设备平台智慧小区安防建设:安装智能监控摄像头需要
    在现代社会,随着科技的飞速发展,智慧小区安防建设已经成为提升居民生活质量和安全感的重要手段。EasyCVR智慧小区安防建设方案,正是在这样的背景下,利用最新的视频监控技术和智能化管理平台,为小区安全保驾护航。这一方案不仅能够实现对小区的全面覆盖和高清监控,还能通过智能识别和联动......
  • 【Civit3D 2025下载与安装教程】
    1、安装包「Civil3d_2025」:链接:https://pan.quark.cn/s/b05281a72f24提取码:PUWx「Civil3D2020」:链接:https://pan.quark.cn/s/61c01d7bd533提取码:RbML2、安装教程(建议关闭杀毒软件)1)       双击Setup.exe安装,弹窗安装对话框  2)       勾选‘我同意......