Hi folks,
Currently experiencing an issue with Rhino where it is failing to install the Python runtime. This occurs when opening the ScriptEditor or when running Grasshopper and attempting to add a Python component to the canvas.
The ScriptEditor window displays a message of ‘Error occured during language initialization’.
The log shows:
"C:\Users\username\AppData\Local\Temp\colorama-0.4.4-py2.py3-none-any.whl"
Error 26/09/2024 10:51:52 [RhinoCode] Process exited with code 1
Error 26/09/2024 10:51:52 [RhinoCode] Error Initializing Python | Error deploying package "pylint-2.10.2-py3-none-any.whl" | ERROR: Can not combine '--user' and '--target'
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.DeployPackages(CPythonStartupSteps startup)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.<>c__DisplayClass98_0.<InitRuntime>b__0(Access access)
at Rhino.Runtime.Code.Languages.Runtime.Access.Run(String id, Action`1 task)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.InitRuntime(CPythonStartupSteps startup)
at Rhino.Runtime.Code.Languages.PythonNet.CPython`1.Start()
This problem only seems to occur on machines that also have Anaconda installed and uninstalling Anaconda seems to resolve the problem. As a lowly Desktop Engineer unfortunately I am not so well versed in all things Python related and was hoping to be pointed in the right direction.
We’re currently running Rhino 8.5 and Anaconda 2024.06-1 on Windows 11 Education 10.0.22621.4169 x64 (2009)
If I can provide any further information please let me know.
Thanks,
Luke