[Nix-dev] python2nix not working

Domen Kožar domen at dev.si
Fri Sep 30 11:33:21 CEST 2016


python2nix is outdated. Older pip needs to be used in order to work. I'll
mark it as broken for now.

On Thu, Sep 29, 2016 at 10:28 PM, Tomasz Czyż <tomasz.czyz at gmail.com> wrote:

> I'm not sure if python2nix is maintainer,
>
> but check this https://garbas.si/2016/pypi2nix-reborn.html
>
> 2016-09-29 20:49 GMT+01:00 Christoph-Simon Senjak <
> christoph.senjak at googlemail.com>:
>
>> Hi.
>>
>> I would like to have the package [1] (which has not been packaged yet,
>> neither any other mediawiki-libraries for python, apparently) in a
>> nix-shell.
>>
>> I tried to use python2nix, but I get the following error message:
>>
>>
>> $ python2nix wptools
>> Traceback (most recent call last):
>>   File "/nix/store/alb0xq3d2rz5cvhsnycfqy6vvps7rf8i-python2nix-20140927/bin/.python2nix-wrapped",
>> line 8, in <module>
>>     from python2nix import main
>>   File "/nix/store/alb0xq3d2rz5cvhsnycfqy6vvps7rf8i-python2nix-2014
>> 0927/lib/python2.7/site-packages/python2nix/__init__.py", line 5, in
>> <module>
>>     from python2nix import pip_deps
>>   File "/nix/store/alb0xq3d2rz5cvhsnycfqy6vvps7rf8i-python2nix-2014
>> 0927/lib/python2.7/site-packages/python2nix/pip_deps.py", line 15, in
>> <module>
>>     from pip.log import logger
>> ImportError: No module named log
>>
>> This appears to be some dependency problem, right? How can I fix this?
>>
>> Best Regards,
>> Christoph-Simon Senjak
>>
>> [1]:https://github.com/siznax/wptools
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
>
> --
> Tomasz Czyż
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160930/da5ff95f/attachment.html>


More information about the nix-dev mailing list