ScriptEditor - CPython Initialization Error

I have a colleague who is having trouble with Python initializing for the ScriptEditor. We’ve worked through ensuring PIP functions and can reach pypi.org. I can post the log file if needed, but here is the crux of the issue:

Info 12/2/2025 7:54:06 PM [RhinoCode] Running process: C:\Users\<user>\.rhinocode\py39-rh8\python.exe -I -m pip --isolated --disable-pip-version-check list --path "C:\Users\<user>\.rhinocode\py39-rh8\site-envs\default-ohYuJBYv" --format freeze
Error 12/2/2025 7:54:06 PM [RhinoCode] Error loading component settings | System.TypeInitializationException: The type initializer for 'Rhino.Runtime.Code.Storage.StorageData' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
   at System.Security.Cryptography.MD5.Create()
   at Rhino.Runtime.Code.Storage.StorageData..cctor()
   --- End of inner exception stack trace ---
   at Rhino.Runtime.Code.Storage.Local.FileStorage..ctor(Uri uri)
   at RhinoCodeEditor.Editor.RCE.EnsureConfigs()

@stevebaer @Bill_Cook Any ideas here?

Thanks!

This is really for @eirannejad

Thanks for passing along, Steve.

Have you got FIPS turned on, or some kind of compliance running (or does Rhino do so), that plays it a bit too safe, assuming MD5 will be used for crypto-security purposes, not just for purposes in which collisions are relatively harmless (like quick check sums, or how Git uses SHA1)?

These are gov systems, but I haven’t seen this on any other machine.

Maybe an upgrade to Rhino (e.g. a higher x in version 8.x) will fix it.