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
xueyefengbao
V2EX  ›  Python

pip 包管理

  •  
  •   xueyefengbao · 2018-06-14 12:23:38 +08:00 · 1591 次点击
    这是一个创建于 2114 天前的主题,其中的信息可能已经有所发展或是发生改变。

    PyCharm python 3.6

    1, 怎么查看 pip 安装包, 每个安装包之间的依赖关系

    python ├── gdbm ├── openssl ├── readline ├── sqlite │ └── readline └── xz

    例如 生成以上的这样结构

    pip freeze 命令生成的信息太少了

    2, 在问题 1 的基础上, 只列出单个项目中所用到的 pip 导入的包

    如果是 setup.py 的话, setup 又是怎么从 pip 导入的包中 知道这个项目用到的包,及依赖信息的呢? 要自己一个个去编写的吗?

    新人求助,刚接触 py 不久

    yangtukun1412
        1
    yangtukun1412  
       2018-06-14 12:56:16 +08:00   ❤️ 1
    pipenv 了解一下.
    KKKKKK
        2
    KKKKKK  
       2018-06-14 17:20:22 +08:00 via iPhone   ❤️ 1
    Pipenv graph
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3245 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 109ms · UTC 14:00 · PVG 22:00 · LAX 07:00 · JFK 10:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.