While running python file,it is showing the following error

Hi,
While i am running python (.py) file,it is showing the following error attached in screenshot.

When running the only python file,it is running successfully and when while running in uipath, it is showing the error.

See this: