Pygmt-session [ERROR]: Not available in classic mode

Why are you doing this? poppler will only be used if GDAL was build with that as a dependency and then you’ll have it already.

pdf2image what for? PyGMT uses psconvert all the times.