CentOS中Python pip包管理工具的安装和使用(2)

#使用pip 显示Python操作Excel的模块 XlsxWriter
# pip show --files XlsxWriter
---
Name: XlsxWriter
Version: 0.7.3
Location: /usr/lib/python2.6/site-packages
Requires:
Files:
Cannot locate installed-files.txt
#

#使用pip 显示已经安装的Python的包
# pip list
Beaker (1.3.1)
cas (0.15)
decorator (3.0.1)
distribute (0.6.10)
ethtool (0.6)
firstboot (1.110)
FormEncode (1.3.0)
freeipa (2.0.0.alpha.0)
iniparse (0.3.1)
iotop (0.3.2)
ipapython (3.0.0)
iwlib (1.0)
kerberos (1.0)
lxml (2.2.3)
Mako (0.3.4)
MarkupSafe (0.9.2)
matplotlib (0.99.1.1)
netaddr (0.7.5)
nose (0.10.4)
numpy (1.4.1)
ordereddict (1.2)
paramiko (1.7.5)
pip (1.5.4)
psutil (2.0.0)
pycrypto (2.0.1)
pycurl (7.19.0)
PyDispatcher (2.0.5)
pygpgme (0.1)
pyOpenSSL (0.10)
python-dateutil (1.4.1)
python-default-encoding (0.1)
python-ldap (2.3.10)
python-meh (0.11)
python-nss (0.13)
pytz (2010h)
pyxdg (0.18)
scdate (1.9.60)
sckdump (2.0.5)
scservices (0.99.45)
scservices.dbus (0.99.45)
setuptools (18.2)
slip (0.2.20)
slip.dbus (0.2.20)
slip.gtk (0.2.20)
Warning: cannot find svn location for SQLObject==3.0.0a1dev-20150327
SQLObject (3.0.0a1dev-20150327)
SSSDConfig (1.9.2)
urlgrabber (3.9.1)
yum-metadata-parser (1.1.2)
[root@centos01 pip-1.5.4]

#使用pip 显示需要更新的包
# pip list --outdated
Warning: cannot find svn location for SQLObject==3.0.0a1dev-20150327
psutil (Current: 2.0.0 Latest: 3.1.1)
pip (Current: 1.5.4 Latest: 7.1.2)
matplotlib (Current: 0.99.1.1 Latest: 1.4.3)
iwlib (Current: 1.0 Latest: 1.5)
pycrypto (Current: 2.0.1 Latest: 2.6.1)
pyOpenSSL (Current: 0.10 Latest: 0.15.1)
Could not find any downloads that satisfy the requirement python-default-encoding
Some externally hosted files were ignored (use --allow-external python-default-encoding to allow).
python-nss (Current: 0.13 Latest: 0.16.0)
MarkupSafe (Current: 0.9.2 Latest: 0.23)
lxml (Current: 2.2.3 Latest: 3.4.4)
pygpgme (Current: 0.1 Latest: 0.3)
pycurl (Current: 7.19.0 Latest: 7.19.5.1)
Could not find any downloads that satisfy the requirement ethtool
Some externally hosted files were ignored (use --allow-external ethtool to allow).
numpy (Current: 1.4.1 Latest: 1.9.2)
kerberos (Current: 1.0 Latest: 1.2.2)
Could not find any downloads that satisfy the requirement yum-metadata-parser
Some externally hosted files were ignored (use --allow-external yum-metadata-parser to allow).
python-ldap (Current: 2.3.10 Latest: 2.4.20)
Could not find any downloads that satisfy the requirement sckdump
Some externally hosted files were ignored (use --allow-external sckdump to allow).
Could not find any downloads that satisfy the requirement ipapython
Some externally hosted files were ignored (use --allow-external ipapython to allow).
Could not find any downloads that satisfy the requirement slip.gtk
Some externally hosted files were ignored (use --allow-external slip.gtk to allow).
Could not find any downloads that satisfy the requirement firstboot
Some externally hosted files were ignored (use --allow-external firstboot to allow).
Could not find any downloads that satisfy the requirement scdate
Some externally hosted files were ignored (use --allow-external scdate to allow).
Mako (Current: 0.3.4 Latest: 1.0.2)
Beaker (Current: 1.3.1 Latest: 1.7.0)
cas (Current: 0.15 Latest: 1.22)
distribute (Current: 0.6.10 Latest: 0.7.3)
Could not find any downloads that satisfy the requirement scservices.dbus
Some externally hosted files were ignored (use --allow-external scservices.dbus to allow).
python-dateutil (Current: 1.4.1 Latest: 2.4.2)
Could not find any downloads that satisfy the requirement sssdconfig
Some externally hosted files were ignored (use --allow-external sssdconfig to allow).
decorator (Current: 3.0.1 Latest: 4.0.2)
nose (Current: 0.10.4 Latest: 1.3.7)
Could not find any downloads that satisfy the requirement freeipa
Some externally hosted files were ignored (use --allow-external freeipa to allow).
iniparse (Current: 0.3.1 Latest: 0.4)
Could not find any downloads that satisfy the requirement slip.dbus
Some externally hosted files were ignored (use --allow-external slip.dbus to allow).
netaddr (Current: 0.7.5 Latest: 0.7.15)
paramiko (Current: 1.7.5 Latest: 1.15.2)
Could not find any downloads that satisfy the requirement python-meh
Some externally hosted files were ignored (use --allow-external python-meh to allow).
pytz (Current: 2010h Latest: 2015.4)
Could not find any downloads that satisfy the requirement scservices
Some externally hosted files were ignored (use --allow-external scservices to allow).
Could not find any downloads that satisfy the requirement iotop
Some externally hosted files were ignored (use --allow-external iotop to allow).
pyxdg (Current: 0.18 Latest: 0.25)
#

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/14787.html