Skip to content

Issue with libraries with hyphens "-" in the name #491

@Abhishek0075

Description

@Abhishek0075

I have a project with "cv2" and "scikit-learn" but when i used the command
pipreqs . --force --mode no-pin
It was giving the requirements.txt as

noise
numpy
opencv_python
Pillow
scikit_learn
scipy
skimage
torch
torchvision
tqdm

As you can see the opencv-python is written as opencv_python (which is in correct manner "opencv-python") and more of the bad one is "skimage" which is really "scikit-image".

If I am doing something wrong please guide me.

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