Failed To Execute Script Mspm-source May 2026

If McAfee Security Scan Plus or a similar utility was not installed properly, or if the installation was interrupted, the script reference remains in your startup sequence even though the actual script file is missing.

> mspm-source.exe
Traceback (most recent call last):
  File "mspm-source.py", line 42, in <module>
  File "site-packages\cryptography\fernet.py", line 12, in <module>
ModuleNotFoundError: No module named 'cryptography.hazmat'
Failed to execute script mspm-source

Fix: Add --hidden-import=cryptography.hazmat.backends.openssl failed to execute script mspm-source

The script expects to find a file or folder at a specific location (e.g., C:\data\config.ini or ./input_files/). If that path does not exist or the user does not have read/write permissions, the script will throw an error that the executable cannot display. If McAfee Security Scan Plus or a similar

ldd mspm-source
# Look for "not found" libraries

The error suggests the Python interpreter embedded in the executable failed to initialize or locate required modules/resources. → Fix: Add --hidden-import=cryptography