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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to