The Python UPF capability has these limitations:
Currently, distributed-memory parallel processing is not supported. You must specify the -smp option on the command line to make sure Mechanical APDL is running in shared-memory processing mode.
Python UPFs are only available on Linux platforms.