Error in py_call_impl, can't read poppler_path passed as argument to convert_from_path

As an example, I have this python script:

from pdf2image import convert_from_path
pdf = r'C:\path\to\file.pdf'
pages = convert_from_path(pdf, 500, poppler_path = "O:\\Outros\\poppler-0.68.0\\bin")

Which works fine when executing in the cmd using the same python as reticulate (AppData/Local/r-miniconda/envs/r-reticulate/python.exe). But when I try to execute in R, sourcing a python script or in the console, I get the following error:

I can't figure out why.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.