Fixing missing python file issue
Issue
Sometimes during upgrades Python can fail to lay down files correctly. Follow these steps to fix that.
Example error:
[ERR] LaunchPythonJob error: System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
If you’re seeing this in your job logs you will likely need to follow the steps below.
Instructions
First, try to cleanly uninstall Python via Add/Remove Programs and follow these steps:
- Remove registry key
\HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.10 - Uninstall Netwrix Threat Manager
- Re-install Netwrix Threat Manager
If you are unable to cleanly uninstall Python using the above steps, follow these steps then try the above again:
- Go to
C:\Users\%USERNAME%\AppData\Local\Programs - Delete Python Folder
- Go to Control Panel >> Uninstall a Program
- Right Click on Python and then Change/Modify
- Click on Repair Python. Note: This may or may not fail, but be patient
- Now Again go to step 6
- Now, after step 6, uninstall Python
- Now, try steps 1-3 again
Affected Versions
Affected Versions : 2.7.1544+