justasking
justasking

Reputation: 111

Pip list to show packages installed through pipenv?

I'm using pipenv to manage virtual environments but I'm confused about the following.

If I run:

  1. pipenv shell
  2. pip list (or pip3 list)

I don't get the modules installed in the virtual environment (or those installed globally), it just prints: pip, setuptools, and wheel.

It finds the right packages when running the code and I can see them in the Pipfile, but shouldn't they show when running pip list?

Any clarification will be appreciated.

Upvotes: 3

Views: 5102

Answers (2)

negstek
negstek

Reputation: 691

you can use pipenv graph to show installed dependencies tree

Upvotes: 3

DeeStarks
DeeStarks

Reputation: 329

Type pipenv run pip freeze after activating pipenv with pipenv shell

Upvotes: 0

Related Questions