Skip to content

Detect and draw Python dependency tree #7

@abitrolly

Description

@abitrolly

Need a way to quickly draw pip dependency tree for troubleshooting various build problems like this one.

...
 Downloading opencv_python_headless-4.5.3.56-cp37-cp37m-manylinux2014_x86_64.whl (37.1 MB)
Collecting wxpython<4.1
  Downloading wxPython-4.0.7.post2.tar.gz (68.9 MB)
...
ERROR: Command errored out with exit status 1: /home/travis/virtualenv/python3.7.1/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ngyqp946/wxpython_7c7fa4b7ce23477a873494227362d125/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ngyqp946/wxpython_7c7fa4b7ce23477a873494227362d125/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1eyqbdoh/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/virtualenv/python3.7.1/include/site/python3.7/wxpython Check the logs for full command output.
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions