You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.
Copy collate_default.py script from Penelope source code to C:\Python27\Scripts (the place where Penelope compiled appears) as collate_x.py (different name)
Then when running penelope, use option --bookeen-collation collate_x.py
Copy all the stardict files to one zip file in C:\Python27\Scripts folder
Use Penelope script according to help, output file will be created in C:\Python27\Scripts.
It took me some hours to figure this all, but I am now happy to have a good french english dictionary besides the great built-in Noveau Littré in my Cybook Muse, etc., thanks.
thank you for taking time to write the steps down. Please note that most of the difficulty of having Penelope installing on Windows is due to the fact it is hard to compile extensions on Windows (steps 2-6 above).
Also, please note that while lxml and marisa-trie are listed as requirements, in fact if you do not read/write XML and/or Kobo files, you can probably just get the source code of Penelope from GitHub (either with git or using the master ZIP button), and avoid steps 2-6 altogether.
Your step 8 forces Penelope to use UTF-8 encoding for I/O. A better way, which also works in Python 3, consists in setting the environment variable:
SET PYTHONIOENCODING=UTF-8
(albeit I am not sure it really works on Windows). Even better, you can probably avoid it by using a proper shell that uses UTF-8 instead of the default Windows shell (which I believe uses CP1252 or whatever.).
No description provided.
The text was updated successfully, but these errors were encountered: