Invoke python code , module 'os' has no attribute 'add_dll_directory'

You need to install the modules you need first.
OpenRPA by default uses python embedded, you can install packages using the pip installa activity or see this post for info about how do do it from command line