[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guix's python has pip's user dir in its loadpath
From: |
edk |
Subject: |
Guix's python has pip's user dir in its loadpath |
Date: |
Wed, 14 Jun 2023 08:42:56 +0200 |
User-agent: |
mu4e 1.8.13; emacs 28.2 |
Dear Guix devs,
While working around this bug:
https://issues.guix.gnu.org/63912
I found that guix's Python will load anything in
.local/lib/python3.10/site-packages/ over any installed package in the
current profile. This makes pip-installed package overshadow guix's.
I'm not sure this is desirable behavior. What I was expecting was for
the host system's python packages to be completely ignored. If I need to
change that, I can explicitely change GUIX_PYTHONPATH.
GUIX_PYTHONPATH is set to:
/home/edouard/.guix-profile/lib/python3.10/site-packages
/gnu/store/avgyacvy2n4x510dpwsf9dzadh7ldnd2-profile/lib/python3.10/site-packages
/home/edouard/.guix-profile/lib/python3.10/site-packages
/home/edouard/.guix-profile/lib/python3.9/site-packages
/home/edouard/.guix-profile/lib/python3.9/site-packages
/home/edouard/.guix-profile/lib/python3.9/site-packages
/home/edouard/.guix-profile/lib/python3.9/site-packages
Therefore loading packages from ~/.local/lib/python3.10/site-packages/
must be hardcoded in the interpreter.
Any thoughts ? Maybe it is a known problem ? If so, my apologies for the
noise.
Cheers,
Edouard.
- Guix's python has pip's user dir in its loadpath,
edk <=