Python easy_install
系统中有高版本的Python, 直接pip3 install ipcalc安装,都是装到高版本的Python
系统默认的Python是2.7.6,现在想装到默认版本中,可以使用easy_install
yuyue@workplace:/usr/bin $ sudo easy_install ipcalc
Password:
Searching for ipcalc
Reading http://pypi.python.org/simple/ipcalc/
Best match: ipcalc 1.1.3
Downloading https://pypi.python.org/packages/source/i/ipcalc/ipcalc-1.1.3.tar.gz#md5=14aa5f92d316631df6c4557a0e87c61b
Processing ipcalc-1.1.3.tar.gz
Writing /tmp/easy_install-ZyioKD/ipcalc-1.1.3/setup.cfg
Running ipcalc-1.1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZyioKD/ipcalc-1.1.3/egg-dist-tmp-C92sIM
zip_safe flag not set; analyzing archive contents...
Adding ipcalc 1.1.3 to easy-install.pth file
Installed /Library/Python/2.7/site-packages/ipcalc-1.1.3-py2.7.egg
Processing dependencies for ipcalc
Finished processing dependencies for ipcalc
yuyue@workplace:/usr/bin $ sudo easy_install IPy
Searching for IPy
Reading http://pypi.python.org/simple/IPy/
Best match: IPy 0.83
Downloading https://pypi.python.org/packages/source/I/IPy/IPy-0.83.tar.gz#md5=7b8c6eb4111b15aea31b67108e769712
Processing IPy-0.83.tar.gz
Writing /tmp/easy_install-XIZ3N9/IPy-0.83/setup.cfg
Running IPy-0.83/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XIZ3N9/IPy-0.83/egg-dist-tmp-4Li7BL
zip_safe flag not set; analyzing archive contents...
Adding IPy 0.83 to easy-install.pth file
Installed /Library/Python/2.7/site-packages/IPy-0.83-py2.7.egg
Processing dependencies for IPy
Finished processing dependencies for IPy
yuyue@workplace:/usr/bin $ python
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPy
Python easy_install的更多相关文章
- python easy_install pip django
1. install python (2.7.8) 2. set PATH, add python27 3. python easy_install.py 4. easy_install pip 5. ...
- python学习:Windows 下 Python easy_install 的安装
Windows 下 Python easy_install 的安装 下载安装python安装工具下载地址:http://pypi.python.org/pypi/setuptools 可以找到 ...
- linux中python easy_install命令
centos 下安装 python easy_installcurl -O http://peak.telecommunity.com/dist/ez_setup.pypython ez_setup. ...
- python - easy_install的安装和使用
为什么要装easy_install?正常情况下,我们要给Python安装第三方的扩展包,我们必须下载压缩包,解压缩到一个目录,然后命令行或者终端打开这个目录,然后执行python setup.py i ...
- python easy_install centos 下安装过程和原理解析
一.easy_install 安装过程 其安装过程有很多种,我也找了很多的例子,但是结果都不太好,以下方法的结果是不错的. easy_install与yum类似,使用easy_install,可以轻松 ...
- Windows 下 Python easy_install 的安装
下载安装python安装工具 下载地址:http://pypi.python.org/pypi/setuptools 可以找到正确的版本进行下载.win7 32位可以下载setuptools-0.6c ...
- python easy_install 发生Unable to find vcvarsall.bat错误的处理方法
用python安装mmseg分词包时发生了 Unable to find vcvarsall.bat 错误 Searching for mmseg Reading http://pypi.python ...
- windows python easy_install ,pip. selenium
http://www.cnblogs.com/fnng/p/3157639.html 搭建平台windows 准备工具如下: unknown encoding: cp65001异常 python安装后 ...
- (未解决)WIN8下使用POWERSHELL安装python easy_install无法成功
按照https://pypi.python.org/pypi/setuptools#windows-8-powershell介绍的方法, 安装未成功.安装似乎没有启动, 也未安装成功. Windows ...
随机推荐
- 个人Android作品开发——FinancePad记账通
开发背景:针对在外工作的年轻一族,记录平时生活消费记录,方便清楚自己的钱花在哪些地方,方便管理. 开发时间:2013年7月中旬 开发环境:Eclipse Andorid SDK V2.0 开发语言:J ...
- Relearning PHP (2) – php 的浮点数float
Relearning PHP (2) – php 的浮点数float 暂无评论 php有很多坑,但是并不妨碍他是最好的语言.其他语言对于浮点数处理同样有问题,这应该是个“共有坑”.不信可以用googl ...
- C# 虚方法的重载 new 与 virtual
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...
- cojs 疯狂的魔法树 疯狂的颜色序列 题解报告
疯狂的魔法树 一个各种操作大杂烩的鬼畜数据结构题目 首先我们注意到树的形态是半随机的 我们可以树分块,对树分成若干个块 对于每个块我们维护一个add标记表示增量 维护一个vis标记表示覆盖量 注意标记 ...
- 李洪强iOS开发之OC[012] -类的声明实现小结
// // main.m // 11 - 内容总结 // // Created by vic fan on 16/7/9. // Copyright © 2016年 李洪强. All righ ...
- lintcode:Plus One 加一
题目: 加一 给定一个非负数,表示一个数字数组,在该数的基础上+1,返回一个新的数组. 该数字按照大小进行排列,最大的数在列表的最前面. 样例 给定 [1,2,3] 表示 123, 返回 [1,2,4 ...
- [hackerrank]Service Lane
https://www.hackerrank.com/challenges/service-lane 用RMQ做的,其实暴力也能过~ #include <iostream> #includ ...
- Linux 学习guideline
记得在中国人气和高手最多的linuxform上看到的一句话. 现在自己的书架上以后lkd2+ldd3+情景分析,再加上它ulk3,书架的linux kernel的四库全书已经凑齐,很充实. lkd2: ...
- 用static关键字修饰类
Java里面static一般用来修饰成员变量或函数.但有一种特殊用法是用static修饰内部类,普通类是不允许声明为静态的,只有内部类才可以.被static修饰的内部类可以直接作为一个普通类来使用,而 ...
- QString->string->wstring->LPCWSTR
QFileInfo info("./records.db"); std::string str = info.absoluteFilePath().toStdString(); / ...