The issue generally comes when UiPath is unable to find the required library, below are the steps you can follow to confirm and fix it.
- Go to the script location where your Python script is present.
- Open CMD at that particular location.
- Run your Python script using cmd.
- If it gives the module not found an error, install it again in that location using cmd and verify again.
Hope this help!