View Single Post
Old 01-11-2019, 05:34 AM   #23
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by toancv View Post
Thanks for Doitsu!. Try your script without success. I installed python 3.7.2 and Kindle Previewer latest version. There is no .txt file created when I double click 'converter.py'. When I use command line, the follwoing error show up:
The error that you got is only displayed, if converter.py is executed with a Python 2 interpreter.

Open a command prompt window and enter the full Python 3 path before convert.py. For example:

Code:
"C:\Python37\python.exe" "D:\books\epub2azw3\converter.py"
BTW, if Sigil is installed on your computer, you should also be able to use the bundled Python 3 interpreter:

Code:
"C:\Program Files\Sigil\python3.exe" "D:\books\epub2azw3\converter.py"
(Obviously, you'll need to adjust all paths.)
Doitsu is offline   Reply With Quote