`
webcode
  • 浏览: 5947982 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

python自动安装工具easy_install的使用

 
阅读更多
安装easy_install完成之后,如何使用easy_install呢,去官网看看吧:--Downloading and Installing a Package

使用一:
根据你想要的安装包名来进行easy_install,工具会检索网页查询最新版本的包,自动下载、构建和安装
easy_install SQLObject
这办法很简洁并不适合中国国情,由于GFW对python.org的长期屏蔽,命令行下的easy_install根本找不到网址,更无从下载
使用二:
指定网址来更新或安装,类似使用一,多了个参数-f和用来指定页面的地址
只指定页面地址
easy_install -f http://pythonpaste.org/package_index.html SQLObject
使用三:
只使用网址来easy_install安装
easy_install http://example.com/path/to/MyPackage-1.2.3.tgz
使用四
easy_install安装下载好的egg文件(egg文件是用setup tools打包的压缩文件)
easy_install /my_downloads/OtherPackage-3.2.1-py2.3.egg
使用五:
升级包,有时候你需要更新包的版本
easy_install --upgrade PyProtocols
使用六:
我最喜欢的一种方法,翻*墙后下载安装包并解压,然后CD到解压包内运行以下命令即可
easy_install .

可以指定版本:
easy_install "MySQL-python==1.2.2"

参考资料:http://peak.telecommunity.com/DevCenter/EasyInstall#downloading-and-installing-a-package
分享到:
评论

相关推荐

    安装easy_install的py文件

    python安装工具包easy_install,直接python ez-setup.py即可完成easy_install的安装,无需解压官网setuptools里的文件

    python安装器easy_install

    附带说明: cd进入papy-setuptools文件夹,执行python setup.py install将安setuptools工具集。会发现在python安装目录下有个script文件夹,里面有easy_install工具。

    python easy_install

    使用ActivePython的安装,自带了easy_install

    easy_install-2.7

    Python2.7 pip的easy_install-2.7下载 Python2.7 pip的easy_install-2.7下载

    python 安装easy_install和pip

    python 安装easy_install和pip

    easy_install.exe review board

    easy_install ez_install.py 生成文件 python

    Python中安装easy_install的方法

    easy_install是一个python的扩展包,主要是用来简化python安装第三方安装包,在安装了easy_install之后,安装python第三方安装包就只需要在命令行中输入:easy_install packagename,然后程序会自动搜索相应版本的...

    Python、Pydev、easy_install、pip、Numpy、Scipy插件大礼包

    Windows64位系统下Python、Pydev、easy_install、pip、Numpy、Scipy、easy_install.py、get-pip.py安装插件大礼包!

    带有easy_install功能的python的 Scripts文件夹

    带有easy_install功能的python的 Scripts文件夹

    解决pythonSSL问题,pip,easy_install无法联网

    只需要把这个代码下载后放到C:\Python27\Scripts中,或者没有安装pip和easy_install时放在C:\Python27中都可,然后用命令行安装python SSLproblem.py 然后一切问题就都解决了

    setuptools-14.1.1 python easy_install安装包

    python的 easy_install 安装包,实测可用。python setup.py build python setup.py install

    python easy_install 和 pip

    两个.py文件 直接运行可以安装 easy_install和pip

    linux下安装easy_install的方法

    如果想使用easy_install工具,可能需要先安装setuptools,不过更酷的方法是使用ez_setup.py脚本:复制代码 代码如下:wget -q http://peak.telecommunity.com/dist/ez_setup.pypython ez_setup.py 安装完后,最好确保...

    easy_install python包安装管理工具介绍

    easy_install更准确的说是一个和... 使用easy_install需要先安装setuptools工具,然后将easy_install所在目录加到PATH环境变量里: Windows: C:\Python25\Scripts 如果想删除通过easy_install安装的软件包,比如

    python easy_install 安装包和安装教程

    python easy_install 是一个自动从网上搜寻并下载安装第三方python库的工具,省去了手动安装的麻烦,十分方便。本人提供此安装包并总结了安装方法,一并分享给大家。

    gevent easy_install

    使用gevent,可以对并发多个http请求的爬虫程序进行很好的优化, 缺点是,安装相对麻烦,这个包依赖于libevent,在windows下面用easy_install直接安装是不行的,福利来了,windowns版本的安装包一枚

    Python中easy_install 和 pip 的安装及使用

    easy_install和pip都是用来下载安装Python一个公共资源库PyPI 的相关资源包的,pip是easy_install的改进版,提供更好的提示信 息,删除package等功能。老版本的python中只有easy_install, 没有pip。 easy_install...

    easy_install

    easy_install和pip都是用来下载安装Python一个公共资源库PyPI 的相关资源包的,有时候发现从官网不好下载分享给大家,解压

    ez_install-py2.7 免积分

    Python安装第三方的扩展包,我们必须下载压缩包,解压缩到一个目录,然后命令行或者终端打开这个目录,然后执行python setup.py install来进行安装。这样很繁琐,所以easy_install就是为了我们安装第三方扩展包更容易...

Global site tag (gtag.js) - Google Analytics