Load Python Script activity do not work properly when used with the xlwings Python library

According to Documentation this problem has been fixed.

The error occurs when I import Xlwings. I have installed Xlwings using the following command: pip3.10 install -U xlwings

This is the error it throws:

Source: Invoke Python Method
Message: Pipe is broken.
Exception Type: System.IO.IOException

System.IO.IOException: Pipe is broken. at System.IO.Pipes.PipeStream.CheckWriteOperations()
at System.IO.Pipes.PipeStream.Flush()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Dispose(Boolean disposing)
at System.IO.TextWriter.Dispose()
at UiPath.Python.Service.PythonProxy.RequestAsync(PythonRequest request, CancellationToken ct)
at UiPath.Python.Service.PythonProxy.Shutdown()
at UiPath.Python.Impl.OutOfProcessEngine.Release()
at UiPath.Python.Activities.PythonScope.Cleanup()
at UiPath.Python.Activities.PythonScope.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hi @Dayana_Rodriguez

Could you please provide a screenshot of your Python Scope and all the properties, so that we can verify that everything is correctly configured?
A Studio version, Python package version, and the project type would also be appreciated.

Also, please browse through these topics, each having a post marked as a solution to your error:
https://forum.uipath.com/search?q=%22Pipe%20is%20broken%22%20status%3Asolved