vgalin / html2image

A package acting as a wrapper around the headless mode of existing web browsers to generate images from URLs and from HTML+CSS strings or files.
MIT License
344 stars 44 forks source link

can't find chrome executable when running on cluster #154

Closed SoniaQi closed 1 month ago

SoniaQi commented 1 month ago

This program works perfectly on my local computer. However, I encounter "Error: Could not find a Chrome executable on this machine, please specify it yourself" when trying to run it on a cluster. I attempted add the path of chrome on my computer: hti.chrome_path = '/Applications/Google Chrome.app', but the issue is not solved. I wonder if this is because I wasn't using ubuntu. Thank you for your attention!