I have a written a piece of code in python and everything works fine when I run it in Pycharm. So I tried to create an executable file from my code using pyinstaller.
the .exe
file is being created however when I run the .exe
file, an error pops up:
wand
module not found.
In my code, I convert a PDF into an image using 'wand' library, here is the code:
from wand.image import Image as wi
pdf_image = wi(filename=pdf, resolution=300)
and that's basically the only line that I use 'wand' in my code. Anyone knows how can i solve this issue or any other workaround that I don't use wand and convert my pdf into image with some other library?