"Unhandled exception in script" message when installing DeviceHub for Windows in PitneyShip or PitneyShip Pro
When installing DeviceHub for Windows, the message "Unhandled exception in script" appears.
If the message says "No module named 'tokenize'", then the error is due to a previous version of DeviceHub that needs to be uninstalled.
- Uninstall the previous version of DeviceHub. For instructions, see:
- Install the latest version of DeviceHub. For instructions, see:
If the message says "This version of Windows is not supported", then the error is due to an unsupported version of the Windows operating system. DeviceHub for Windows is only supported with Windows 10 or higher.
If the message says "[Errno 13] Permission denied", then the error is caused by Windows security or third-party anti-virus protection that is blocking access to DeviceHub. Contact your IT department or Windows System Administrator.
UPDATED: August 18, 2023