首页
注册
登录
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
V2EX
›
Python
为什么pip freeze能看见wsgiref?
julyclyde
·
julyclyde
·
2013-07-21 22:24:57 +08:00
via iPad · 3996 次点击
这是一个创建于 4093 天前的主题,其中的信息可能已经有所发展或是发生改变。
wsgiref不是标准库里的吗?为什么pip freeze能看见它?既然能看见,能不能单独升级安装?或者说pypi里是否提供wsgiref?
wsgiref
pip
freeze
4 条回复
•
1970-01-01 08:00:00 +08:00
1
dreampuf
2013-07-21 23:24:55 +08:00
1
http://stackoverflow.com/questions/6627035/why-does-pip-freeze-report-some-packages-in-a-fresh-virtualenv-created-with-no
2
julyclyde
OP
2013-07-22 12:06:43 +08:00
谢谢
3
xuwenbao
2013-07-23 12:49:59 +08:00
pip freeze --local
4
julyclyde
OP
2013-07-23 17:24:02 +08:00
@
xuwenbao
--local显示的只有virtualenv里后来安装的包,确实是没有wsgiref的。不过又带来另一个问题:在virtualenv带了 no site packages 标志的情况下,为什么python能找到wsgiref的路径呢?
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1041 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 23:57
·
PVG 07:57
·
LAX 16:57
·
JFK 19:57
Developed with
CodeLauncher
♥ Do have faith in what you're doing.