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          |h.goe...@crazy-compilers.com                |
|www.crazy-compilers.com  | compilers which you thought are impossible |
_______________________________________________
python-de Mailingliste -- python-de@python.org
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an 
python-de-le...@python.org
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: arch...@mail-archive.com

Reply via email to