Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2012, 09:32 AM   #1
pramodxyle
Junior Member
pramodxyle began at the beginning.
 
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
pramodxyle is offline   Reply With Quote
Old 03-19-2012, 09:40 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,811
Karma: 5006091
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.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 03-19-2012, 11:21 PM   #3
pramodxyle
Junior Member
pramodxyle began at the beginning.
 
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?
pramodxyle is offline   Reply With Quote
Old 03-19-2012, 11:27 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,811
Karma: 5006091
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You cant
kovidgoyal is offline   Reply With Quote
Old 03-20-2012, 12:41 AM   #5
pramodxyle
Junior Member
pramodxyle began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2012
Location: Bangalore
Device: iPad2/Samsung Galaxy Tab/Samsung Galaxy S2/Nokia Lumia 800
ok...thanks...
pramodxyle is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:07 PM.


MobileRead.com is a privately owned, operated and funded community.