[Nix-dev] python2nix not working

Christoph-Simon Senjak christoph.senjak at googlemail.com
Thu Sep 29 21:49:07 CEST 2016


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-20140927/lib/python2.7/site-packages/python2nix/__init__.py", 
line 5, in <module>
     from python2nix import pip_deps
   File 
"/nix/store/alb0xq3d2rz5cvhsnycfqy6vvps7rf8i-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

This appears to be some dependency problem, right? How can I fix this?

Best Regards,
Christoph-Simon Senjak

[1]:https://github.com/siznax/wptools


More information about the nix-dev mailing list