4 ms·
From the github issue: > In short, packaged Debian/ubuntu Python installs things into dist-packages. site-packages is left alone in-case you like to build your
by jnxx 6y ago
From the github issue:
> In short, packaged Debian/ubuntu Python installs things into dist-packages. site-packages is left alone in-case you like to build your own upstream python and install it. Debuntu overrides the distutils it ships to redirect installs to dist-packages.
It gets blurry when you install pip from upstream. But it would call setuptools, which would use the patched distutils so things worked.
>
> Now setuptools vendors distutils this and always installs things into site-packages, which isn't on the packaged python interpreter path, so it can't find modules.
Now, who thinks that vendoring distutils is a good idea? And installing into the base system?