sklearn not correctly formed
Open
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
When using `import sklearn` the library to install would be scikit-image.
However the resulting requirements.txt contains `sklearn==0.0` which is not correct even if the library was right.

Contributor guide
Research direction
Reproduce the issue with `import sklearn` and inspect the generated `requirements.txt`. Trace how pipreqs maps the import name to an installable package and determines its version. Done means the generated requirement uses the correct distribution name and version for the imported library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100