RaptDept / chm2pdf

Automatically exported from code.google.com/p/chm2pdf
GNU General Public License v2.0
0 stars 0 forks source link

"ImportError: No module named chm.chm" #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

sander@athlon64:~/chm2pdf-0.0.2$ chm2pdf ~/Azureus\ Downloads/Learning\
Something/Learning\ Something.chm
Traceback (most recent call last):
  File "/usr/bin/chm2pdf", line 11, in <module>
    import chm.chm as chm
ImportError: No module named chm.chm
sander@athlon64:~/chm2pdf-0.0.2$

Original issue reported on code.google.com by sander.j...@gmail.com on 19 Aug 2007 at 12:21

GoogleCodeExporter commented 8 years ago
Hi
You should install pychm (python bindings for chmlib library) as stated in
requirements section.
Gentoo
 emerge -v pychm
(unmask it in the case you are running gentoo 64 bits)

Red Hat-like 
 yum install python-chm

Greets

Original comment by tuxi...@gmail.com on 20 Aug 2007 at 9:46

GoogleCodeExporter commented 8 years ago
Aha: On Ubuntu Linux the library name is python-chm (like on RedHat), and not 
pychm.
So after a "sudo apt-get install python-chm" chm2pdf works!

Thanks

Sander

Original comment by sander.j...@gmail.com on 22 Aug 2007 at 3:29

GoogleCodeExporter commented 8 years ago
If you have troubles with chm2pdf, try reporting them in the Google group before
posting them as bugs. :)

Original comment by devicera...@gmail.com on 30 Aug 2007 at 11:25