Hacker News new | ask | show | jobs
by remram 1339 days ago
Similar in the Python world: https://pypi.org/project/sklearn/

This one just depends on the correct `scikit-learn` package though.

2 comments

Same for: https://pypi.org/project/pytorch/

> You tried to install “pytorch”. The package named for PyTorch is “torch”

Also bs4 / beautifulsoup4
These are both like numpy & pandas in always documenting with `import longname as ln` right? I think they bring it on themselves.
No, it's worse, if you `pip install scikit-learn` you get a library importable as `import sklearn`. It's more than a usage or documentation issue, the code itself doesn't match the name on the can.

(and `pip install beautifulsoup4` lets you `import bs4`)