Skip to content

Help with some use cases #374

Answered by kemzeb
sandeep026 asked this question in Q&A
Jun 3, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

From looking at your code snippet, it looks like you are modifying sys.path during runtime in order for the importing mechanism to be able to find mmpl. More importantly, it seems that mmpl is not already available in your environment.

One approach to see mmpl deps is to use Python's $PYTHONPATH environment variable like:

PYTHONPATH="C:\Users\Documents\noc\mmpl" pipdeptree -p mmpl

Note that pipdeptree analyzes the package metadata. So if mmpl doesn't have a metadata directory or your path doesn't point to a directory that contains mmpl's metadata directory, it cannot be displayed.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kemzeb
Comment options

Answer selected by sandeep026
@sandeep026
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants