damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
https://damnever.github.io/pigar/
BSD 3-Clause "New" or "Revised" License
1.68k stars 90 forks source link

pigar doesnt pick up a particular package #38

Open sb07 opened 6 years ago

sb07 commented 6 years ago

pigar is not getting scikit-learn

it imports as sklearn == 0.0

This is all correct but sklearn is scikit-learn, for what ever reason scikit is using sklearn like this when you import it and this pigar application is not adhering to their standards.

damnever commented 6 years ago

I can't reproduce it, need more information, such as OS, python version, installation method, etc.

sb07 commented 6 years ago

windows 2 and 3 pip

What is it printing when you import the scikit learn module?

I just tried it on linux it picked up scikit, but not working on windows

sci-kit may have been installed by a wheel file. sklearn and sci-kitlearn are listed in the packages. its win 10 and python3.6.1 to be more specific. this isnt much of an issue for me, but i noticed it didnt work in this particular instance. worked on linux.