System.InvalidOperationException: Error initializing Python engine ---> System.InvalidOperationException: Python deserialization exception ---> System.ArgumentNullException: Value cannot be null. (Parameter 's')

Hi,

Using UiPath 2024 version with windows and python version is 3.9 while running the python code getting below error in python scope

System.InvalidOperationException: Error initializing Python engine —> System.InvalidOperationException: Python deserialization exception —> System.ArgumentNullException: Value cannot be null. (Parameter ‘s’) at

@Manaswini_UI,

Can you share how you are configuring the Python Scope?

Hi @Manaswini_UI

Could you please:

  1. Share a sample workflow where you are encountering this issue

  2. Run the following two commands in the CMD and share their output:

    dotnet --list-runtimes
    
    dotnet --list-sdks
    
  3. Details about your Python installation → is it coming from the Python installer or from the Windows store?

It would help us debug the issue a bit better.