|
From: | Hartmut Goebel |
Subject: | Re: PYTHONPATH issue explanation |
Date: | Sat, 17 Mar 2018 23:46:30 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Am 17.03.2018 um 11:07 schrieb Ricardo Wurmus: > What I don’t like about this solution is that PYTHONHOME can only hold a > single directory, so composing profiles (that use the same Python > variant) would no longer work. I prefer the What exactly do you mean with "composing profiles"? This fails: guix environment --ad-hoc python echo $GUIX_ENVIRONMENT # /gnu/store/0d8vp2h…-profile echo $PYTHONPATH # /gnu/store/0d8vp2h…-profile/lib/python3.5/site-packages guix environment --ad-hoc python-simplejson echo $GUIX_ENVIRONMENT # /gnu/store/5xgfisg…-profile echo $PYTHONPATH # /gnu/store/0d8vp2h…-profile/lib/python3.5/site-packages python3 -s -c 'import simplejson' # import error ('-s' avoids leaking packages from §HOME/.local/…) -- Regards Hartmut Goebel | Hartmut Goebel | address@hidden | | www.crazy-compilers.com | compilers which you thought are impossible |
[Prev in Thread] | Current Thread | [Next in Thread] |