推荐学习书目
› 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 · Jul 21, 2013 via iPad · 5025 views
    This topic created in 4815 days ago, the information mentioned may be changed or developed.
    wsgiref不是标准库里的吗?为什么pip freeze能看见它?既然能看见,能不能单独升级安装?或者说pypi里是否提供wsgiref?
    4 replies  •  1970-01-01 08:00:00 +08:00
    julyclyde
        2
    julyclyde  
    OP
       Jul 22, 2013
    谢谢
    xuwenbao
        3
    xuwenbao  
       Jul 23, 2013
    pip freeze --local
    julyclyde
        4
    julyclyde  
    OP
       Jul 23, 2013
    @xuwenbao --local显示的只有virtualenv里后来安装的包,确实是没有wsgiref的。不过又带来另一个问题:在virtualenv带了 no site packages 标志的情况下,为什么python能找到wsgiref的路径呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1478 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 16:26 · PVG 00:26 · LAX 09:26 · JFK 12:26
    ♥ Do have faith in what you're doing.