I want to convert PDF file to image file (.jpg, or .png ...). I have found this solution but I always get an error:
from pdf2image import convert_from_path page