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.