adasilva / journal2ebook

optimize academic pdfs for e-readers
Other
107 stars 12 forks source link

import ImageTk errors out on Fedora 20 #29

Closed k4rtik closed 10 years ago

k4rtik commented 10 years ago

While launching after the given install steps, I had to manually change the source to import ImageTk as follows:

- import ImageTk
+ from PIL import ImageTk

Not sure whether this works for all distributions so not sending a pull request.

adasilva commented 10 years ago

I'll take a look. What is your operating system? Which version of Python are you using?

k4rtik commented 10 years ago

IIRC, it must have been Fedora 20 with latest version of Python 2 then. I am using a Macbook Air now, but haven't tried to reproduce this on OS X.

adasilva commented 10 years ago

Seems this was also an issue on mac, so I added a try... except statement.

k4rtik commented 10 years ago

Thanks, that should work everywhere. :)