UNABLE TO INVOKE PYTHON SCRIPT THAY HAS API REQUEST FUNCTION

Hi @Yu_Ming_Chang,

Welcome to the community.

  1. The python installation you are using does not have the cryptography library installed
    UiPath does not care if python is installed in your computer or is running from a pendrive. All it cares is that it has access to python.exe executable. Refer this thread: How to run python script in UiPath without installing python? - #4 by jeevith

    Now you have to first find out if that particular python path has the required libraries installed. In your case the cryptography package. You can do this by using the pip freeze in PowerShell.
    Example:
    image

  2. Pipe is broken
    This occurs in UiPath when the workflow forwards or receives large amount of data. Not just a problem in Python Scope. This can also happen in other scenarios, such as when you are pooling a large datatable and trying to send this to another UiPath workflow.
    Refer this thread: Invoke Python Method: Pipe is broken - #3 by jeevith