V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
julyclyde
V2EX  ›  Python

为什么pip freeze能看见wsgiref?

  •  
  •   julyclyde ·
    julyclyde · 2013-07-21 22:24:57 +08:00 via iPad · 3860 次点击
    这是一个创建于 3903 天前的主题,其中的信息可能已经有所发展或是发生改变。
    wsgiref不是标准库里的吗?为什么pip freeze能看见它?既然能看见,能不能单独升级安装?或者说pypi里是否提供wsgiref?
    4 条回复    1970-01-01 08:00:00 +08:00
    julyclyde
        2
    julyclyde  
    OP
       2013-07-22 12:06:43 +08:00
    谢谢
    xuwenbao
        3
    xuwenbao  
       2013-07-23 12:49:59 +08:00
    pip freeze --local
    julyclyde
        4
    julyclyde  
    OP
       2013-07-23 17:24:02 +08:00
    @xuwenbao --local显示的只有virtualenv里后来安装的包,确实是没有wsgiref的。不过又带来另一个问题:在virtualenv带了 no site packages 标志的情况下,为什么python能找到wsgiref的路径呢?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1548 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:11 · PVG 01:11 · LAX 10:11 · JFK 13:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.