pankajr141 / pdf2jpg

Utility to convert PDF into JPG files
51 stars 21 forks source link

no module named command #1

Closed Loovelj closed 6 years ago

Loovelj commented 6 years ago

when I run the code, it has an error: no module named command. then I replace command to subprocess,it worked

dinuduke commented 6 years ago

I also got the same error...

pankajr141 commented 6 years ago

Ohh, i guess you were using python3, as per this page https://docs.python.org/2/library/commands.html "The commands module has been removed in Python 3."

I will fix the code to use a general module for both python2 and 3 (Linux + Windows)

pankajr141 commented 6 years ago

Fixed Issue

Tested on

Windows [2.7.12, 3.6.0] Linux [2.7.14, 3.4.8]