[LAD] installing python extensions
Christopher Arndt
chris at chrisarndt.de
Mon Aug 15 23:33:35 CEST 2022
Am 15.08.22 um 23:14 schrieb Marc Lavallée:
> Le 2022-08-15 à 15 h 21, Fons Adriaensen a écrit :
>>> sudo pip install .
>> will install to /usr/local/lib
>>
> When installing with the root user, the default prefix is /usr/local
> because /usr is usually managed by the system.
Actually, it will install to sys.prefix, which is usually /usr, if the
Python version used to run pip is installed via a distro package.
BTW, the recommended way to run pip is actually
python -m pip <options>
because then you can control (via PATH or the command name you use)
which Python interpreter is used.
Chris
More information about the Linux-audio-dev
mailing list