Skip to content

Malformed requirements.txt created #504

@mxrdck

Description

@mxrdck

I created my requirements.txt using the following command:

pipreqs . --force --ignore ".venv"

I used --force because the project has an existing, incomplete requirements.txt, which is how I found pipreqs in the first place.
I used --ignore ".venv" because i encountered an error related to this issue.

The requirements.txt now contains duplicates such as:
...
PyYAML==6.0.2
PyYAML==6.0.2
...

conflicting versions:
...
pywin32=310
pywin32==311

as well as wrong library names:
...
skimage==0.0
...
(should be scikit-image)

I am on windows, using python 3.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions