[Nix-dev] python2nix requires old pip?
    Jeffrey David Johnson 
    jefdaj at gmail.com
       
    Mon Jun  6 18:59:35 CEST 2016
    
    
  
What's the current state of the py*2nix helpers? I just tried to run python2nix and got this:
$ python2nix 
Traceback (most recent call last):
  File "/nix/store/mpzwan1fyraps3kmigpda76lzyj9r9qy-python2nix-20140927/bin/.python2nix-wrapped", line 8, in <module>
    from python2nix import main
  File "/nix/store/mpzwan1fyraps3kmigpda76lzyj9r9qy-python2nix-20140927/lib/python2.7/site-packages/python2nix/__init__.py", line 5, in <module>
    from python2nix import pip_deps
  File "/nix/store/mpzwan1fyraps3kmigpda76lzyj9r9qy-python2nix-20140927/lib/python2.7/site-packages/python2nix/pip_deps.py", line 15, in <module>
    from pip.log import logger
ImportError: No module named log
It worked for me until recently. Is anyone else currently using it? According to https://github.com/proger/python2nix it requires pip==1.5.6, so I'm guessing that just needs to be hunted down and added as a dependency.
Also tried cloning the two pypi2nix repos (https://github.com/garbas/pypi2nix and https://github.com/offlinehacker/pypi2nix) but couldn't get either of them to work.
Jeff
    
    
More information about the nix-dev
mailing list