Hi, I was trying to do the level two certification of robocorp in a python based template instead of a standard robot template and I found out that RPA.PDF import is not working in python even thou the documentation clearly states an example of how to use it in python as well.
I just created a standard python template robot with Robocorp’s VSCode extension and overwrote the task.py with:
from RPA.PDF import PDF
def minimal_task():
text = PDF().get_text_from_pdf("report.pdf")
print(text)
if __name__ == "__main__":
minimal_task()
It did work correctly. What error do you get? How/where are you running it? What do you have in conda.yaml?
1 Like