V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 4713 views
    This topic created in 4676 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   ·   Solana   ·   1683 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 16:19 · PVG 00:19 · LAX 09:19 · JFK 12:19
    ♥ Do have faith in what you're doing.