how to take screenshot when call python by reticulate

i need import pyscreenshot to take screen shot,but fail. any idea? The detail i summbit in the github, Please follow the link and give your suggestion. Thanks.
pyscreenshot.err.failed