[Nix-dev] PYTHONPATH

Shea Levy shea at shealevy.com
Sat Feb 2 02:37:59 CET 2013


Hi Christopher,

If you install pythonPackages.recursivePythonLoader, then setting 
PYTHONPATH=$HOME/.nix-profile/lib/python2.7/site-packages should work 
for all nix-installed python packages.

Thanks,
Shea

On 02/01/2013 08:23 PM, Christopher Howard wrote:
> Hi. Question for the python savvy users: I'm no export at python or
> nix, but I used nix to install some python stuff. I see .egg
> directories appearing in ~/nix-profile/lib/python2.7/site-packages,
> and it seems I can use a package if I set PYTHONPATH to
> ~/nix-profile/lib/python2.7/site-packages/packagename.egg. Is it
> possible to set PYTHONPATH (or some other variable) once so that all
> the packages are usable? I tried just setting the path to the
> site-packages directory, but that doesn't seem to work.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list