#
Layout of Python installations
All paths in the table are relative to the installation root:
Files | Windows | Linux and macOS | Notes |
---|---|---|---|
Interpreter | python.exe | bin/python3.x | |
Standard library | Lib and DLLs | lib/python3.x | Extension modules are located under DLLs on Windows. Fedora places the standard library under lib64 instead of lib. |
Third-party packages | Lib\site-packages | lib/python3.x/site-packages | Debian and Ubuntu put packages in dist-packages. Fedora places extension modules under lib64 instead of lib. |
Entry-point scriptsa | Scripts | bin |