Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find msguniq. Django 1.8, Windows 7 64 bit

I've successfully installed msguniq (can check its version), I've tried to change compatibility to windows xp and run it as administator, but still I'm getting this error:

CommandError: Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed.

I'm really confused because I've done everything like in this answer. I'm really out of ideas how can I fix it (also tried to change gettext.exe and xgettext.exe to windows xp compatibility).

like image 421
stott3r Avatar asked Nov 21 '15 09:11

stott3r


1 Answers

I was having the extact same problem. And it came down to simply restart the cmd window by closing and opening it again.

Of course, you may need if not already done to install Gettext for Windows 0.15 or higher from these sources :

http://mlocati.github.io/gettext-iconv-windows/

To see how I compiled them (if you want to do it yourself) take a look at https://github.com/mlocati/gettext-iconv-windows (source)

Make sure also that the path to your gettext is in your system $PATH (python >> import sys >> print sys.path) - if not, you can add in your virtualenv folder Lib\site-packages a .pth file containing the path to your gettext folder.

like image 61
Nielluin Avatar answered Nov 09 '22 09:11

Nielluin