Python Forum
to get a list of pip packages that were installed
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
to get a list of pip packages that were installed
#5
many packages install others that are needed dependencies, so they tend to add up. Especially if virtual environments are not used. I always create a separate virtual environment for each project and include a requirements.text file which I update every time I add a new package ( pip freeze > requirements.txt ). This tends to keep the repository slim, and is a great help if a new python is installed (I use pyenv (see snippsats video: ) to bring the environment up to date.
After new python install, use pip install -r requirements.txt.
Reply


Messages In This Thread
RE: to get a list of pip packages that were installed - by Larz60+ - Jun-01-2022, 06:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  what pip command can list installed files for a name package? Skaperen 3 2,227 Aug-04-2020, 10:15 PM
Last Post: Skaperen
  pip list available packages Skaperen 16 36,866 Oct-31-2017, 12:36 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020