删除Python Easy_install安装软件
2014-03-25 23:31
281 查看
python的easy_install是很方便的安装体系,可是一般来说setup.py没有deinstall的选项,那么如何删除已经安装的egg呢?
easy_install -mxN Genshi
然后下面类似的提示:
然后删除目录:
rm -rf /usr/local/lib/python2.6/dist-packages/Genshi-0.6-py2.6.egg
转自:http://www.qingran.net/2011/01/%E5%88%A0%E9%99%A4python-easy_install%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6/
easy_install -mxN Genshi
然后下面类似的提示:
install_dir /usr/local/lib/python2.6/dist-packages/ Processing Genshi-0.6-py2.6.egg Removing Genshi 0.6 from easy-install.pth file Installed /usr/local/lib/python2.6/dist-packages/Genshi-0.6-py2.6.egg Because this distribution was installed --multi-version, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version:
pkg_resources.require("Genshi") # latest installed version pkg_resources.require("Genshi==0.6") # this exact version pkg_resources.require("Genshi>=0.6") # this version or higher
然后删除目录:
rm -rf /usr/local/lib/python2.6/dist-packages/Genshi-0.6-py2.6.egg
转自:http://www.qingran.net/2011/01/%E5%88%A0%E9%99%A4python-easy_install%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6/
相关文章推荐
- mac 安装python软件包的工具--easy_install
- 【python】(备忘)安装模块最好用easy_install 命令
- python在Windows下安装setuptools(easy_install工具)步骤详解
- python自动安装工具easy_install的使用
- python中easy_install 卸载已经安装的包
- python easy_install安装
- python 安装easy_install和pip
- python 安装easy_install和pip
- python-easy_install【安装其他模块】
- centOS6.5 python升级和安装easy_install,pip
- Python easy_install 安装使用
- Centos6.7升级到Python3.5.2以及easy_install、pip的安装
- python安装setuptools(easy_install工具)
- easy_install安装,更新模块 python
- python自动安装工具easy_install的使用
- Python包管理工具easy_install安装
- python3.4学习笔记(十六) windows下面安装easy_install和pip教程
- python - easy_install的安装和使用
- Python3.6.X Windows下安装easy_install,pip3的方法
- Windows下python安装easy_install和pip&安装requests和BeautifulSoup库