推荐学习书目
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 · Jun 14, 2018 · 2559 views
    This topic created in 2902 days ago, the information mentioned may be changed or developed.

    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  
       Jun 14, 2018   ❤️ 1
    pipenv 了解一下.
    KKKKKK
        2
    KKKKKK  
       Jun 14, 2018 via iPhone   ❤️ 1
    Pipenv graph
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3424 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:59 · PVG 18:59 · LAX 03:59 · JFK 06:59
    ♥ Do have faith in what you're doing.