Broken Pipe Error While running Python script in UI Path

Hi Team,
Good Day!

Python script is working fine in Google Collab but while invoking module into UI Path Studio getting ‘Broken Pipe’ error

Python version is - python-3.8.7rc1-amd64 &
UI Path Studio version is - Ui Path Studio 2023.4.2 Community License

Could you please help us to resolve the issue?

Best Regards,
Pooja Prasad