Use local don't work with venvs #7

Open
opened 2025-04-09 14:58:28 +00:00 by tcsenpai · 0 comments
Owner

Originally created by @upALX on 4/5/2025

When I try to use pipreqs on an active venv, packages are duplicated if they exist both in the system and in the active venv.

Simple example generated requirements:

pandas==2.2.3 (from system)
pandas==2.2.1 (from venv) 

Sometimes packages are found but not written in the requirements...

Linux distro tested:

  • Oracle Linux (RHEL 8.10)
  • Ubuntu (24.04.2[LTS])

CLI used:

  • bash
  • zsh
*Originally created by @upALX on 4/5/2025* When I try to use pipreqs on an active venv, packages are duplicated if they exist both in the system and in the active venv. Simple example generated requirements: ``` pandas==2.2.3 (from system) pandas==2.2.1 (from venv) ``` Sometimes packages are found but not written in the requirements... Linux distro tested: - Oracle Linux (RHEL 8.10) - Ubuntu (24.04.2[LTS]) CLI used: - bash - zsh
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pipreqs#7
No description provided.