[Nix-dev] python2nix requires old pip?

Tomasz Czyż tomasz.czyz at gmail.com
Mon Jun 6 19:30:56 CEST 2016


Recently I've got https://github.com/garbas/pypi2nix working, looks like
usefull tool. But I had to make own package, the one from nixpkgs didn't
work for me.

2016-06-06 17:59 GMT+01:00 Jeffrey David Johnson <jefdaj at gmail.com>:

> 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
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
Tomasz Czyż
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160606/74db3b82/attachment.html>


More information about the nix-dev mailing list