r/learnpython • • Oct 05 '24

Does linux support all python libraries?

Does linux support all python libraries?

0 Upvotes

14 comments sorted by

View all comments

13

u/Swipecat Oct 05 '24

No. But the majority of libraries are either platform-independent or come in multiple platform versions. Of the small minority that are single-platform, there's probably more linux-only libraries than windows-only libraries.

If you're wondering how many python libraries are supplied as pre-compiled packages in the repositories of the main linux distros, it's about 4500. (There are about half a million packages on PyPI.)