Am 10.05.24 um 11:37 schrieb Marc Haber:
Dafür gibt es "pip install -e ." z.B. Damit macht man das aktuelle
Projekt im globalen Suchpfad des benutzten Interpreters verfügbar.
Aber hoffentlich nur im Environment einer Subshell? Oder ist das
persistentes Herumfummeln im System? Wenn ja, wo?

pip install installiert per default nach /usr/lib/pythonX.YZ/site-packages. Debian lässt das aber gar nicht mehr zu.

Wenn ein virtual environment aktiv ist, wird nach <venv>/lib/pythonX.YZ/site-packages installliert. Dito bei nicht-aktivem vend und "<venv>/bin/pip install".

Option --user installiert nach $HOME/.local/lib/pythonX.YZ/site-packages.

pip list zeigt Dir, was wo installiert ist. (Bei aktivem venv aber im venv und nicht im System.)

--
Regards
Hartmut Goebel

| Hartmut Goebel          |[email protected]                |
|www.crazy-compilers.com  | compilers which you thought are impossible |
_______________________________________________
python-de Mailingliste -- [email protected]
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an 
[email protected]
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: [email protected]

Reply via email to