03-19-2012, 09:32 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2012
Location: Bangalore
Device: iPad2/Samsung Galaxy Tab/Samsung Galaxy S2/Nokia Lumia 800
|
ImportError: No module named setup
Hi,
I've written my custom filter and have been doing some interesting stuff with Calibre. Now, I wanna create a Windows Binary. For that I'm referring : http://oldbugs.calibre-ebook.com/wik...evelopment#no1 When I execute "python installer\windows\freeze.py", I get : Traceback (most recent call last): File "installer\windows\freeze.py", line 11, in <module> from setup import (Command, modules, functions, basenames, __version__, ImportError: No module named setup I've tried all the possible ways to resolve it, but couldn't. Please help..!! Thanks and Br, Pramod |
03-19-2012, 09:40 AM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Building a windows binary is highly non trivial you have to hand compile *all* of calibre's dependencies. If you feel upto that task, instructions are in windows_notes.rst in the calirbe source tree.
|
Advert | |
|
03-19-2012, 11:21 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2012
Location: Bangalore
Device: iPad2/Samsung Galaxy Tab/Samsung Galaxy S2/Nokia Lumia 800
|
Ok..so, if I don't wan't to compile the whole calibre but some parts of it , for instance if want to generate just "ebook-convert.exe" with its dependencies, how do I do it?
|
03-19-2012, 11:27 PM | #4 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cant
|
03-20-2012, 12:41 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2012
Location: Bangalore
Device: iPad2/Samsung Galaxy Tab/Samsung Galaxy S2/Nokia Lumia 800
|
ok...thanks...
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ImportError: No module named djvu | canadianjameson | Conversion | 12 | 04-01-2012 11:23 PM |
Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser | jasn | Calibre | 2 | 01-21-2012 11:36 PM |
Error on install: No module named PyQt4 | good_man | Calibre | 4 | 02-18-2011 03:10 PM |
ImportError: No module named profiles | ould | Calibre | 11 | 02-28-2009 07:25 PM |
ImportError: No module named pkg_resources | erik80 | Calibre | 3 | 08-02-2008 09:33 AM |