Hi there,
I have a similar issue i think than here on my distant server. Sorry in advance it this post is a duplicate, but i didn’t find my solution in the other and got afraid the comment would get lost.
Here’s my specific issue: i have a distant Compute Server i installed with IIS. It worked just fine a few days ago but broke this monday when it was sent a compute request. To debug i tried to open a file with the GUI and it seems it is related to a Python installation. I have to say, i didn’t “untick” the “Automatically update packages when Rhino starts”, don’t know if this could be related.
Here are the logs from RhinoCodeLogs
Info 07/15/2024 12:51:01 [RhinoCode] Language Registered: Plain Text 1.0 (rhinocode.builtin.text)
Info 07/15/2024 12:51:01 [RhinoCode] Language Registered: JSON 1.0 (rhinocode.builtin.json)
Info 07/15/2024 12:51:01 [RhinoCode] Storage Site Registered: Local Drive (mcneel.eto.file)
Info 07/15/2024 12:51:01 [RhinoCode] Storage Site Registered: Rhino Files (mcneel.rhinoFiles.file)
Info 07/15/2024 12:51:01 [RhinoCode] Storage Site Registered: Web (mcneel.eto.http)
Info 07/15/2024 12:51:01 [RhinoCode] Rhino3D Initialized on Windows - NETCoreApp
Info 07/15/2024 12:51:01 [RhinoCode] Platform Registered: Rhinoceros 3D @ 8.8.24170.13001 (mcneel.rhino3d.rhino)
Info 07/15/2024 12:51:01 [RhinoCode] Operating System: Microsoft Windows NT 10.0.20348.0
Info 07/15/2024 12:51:01 [RhinoCode] RhinoCode server starting on \\.\pipe\rhinocode_remotepipe_6864
Info 07/15/2024 12:51:09 [RhinoCode] Language Loader Registered: mcneel.pythonnet.python@3.*
Info 07/15/2024 12:51:09 [RhinoCode] Language Loader Registered: mcneel.ironpython.python@2.*
Info 07/15/2024 12:51:09 [RhinoCode] Language Loader Registered: mcneel.roslyn.csharp@9.*
Info 07/15/2024 12:51:09 [RhinoCode] Language Loader Registered: mcneel.gh1.grasshopper@1.*
Info 07/15/2024 12:51:09 [RhinoCode] Language Loader Registered: mcneel.markdig.markdown@0.*
Info 07/15/2024 12:51:09 [RhinoCode] Using existing runtime: CPython 3.9.10/43 (x64)
Info 07/15/2024 12:51:09 [RhinoCode] Initializing CPython 3.9.10/43 runtime
Info 07/15/2024 12:51:09 [RhinoCode] Deploying python packages
Info 07/15/2024 12:51:09 [RhinoCode] Deploying package from "site-interop.zip"
Info 07/15/2024 12:51:09 [RhinoCode] Deploying package from "utils.zip"
Info 07/15/2024 12:51:09 [RhinoCode] Deploying package from "pylint-2.10.2-py3-none-any.whl"
Info 07/15/2024 12:51:09 [RhinoCode] Running process: C:\Users\RhinoComputeUser\.rhinocode\py39-rh8\python.exe -s -m pip --disable-pip-version-check install --target "C:\Users\RhinoComputeUser\.rhinocode\py39-rh8\site-support" --progress-bar off --upgrade --no-warn-script-location --retries 0 --timeout 1 --no-dependencies "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\pylint-2.10.2-py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\toml-0.10.2-py2.py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\platformdirs-2.3.0-py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\isort-5.9.3-py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\mccabe-0.6.1-py2.py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\astroid-2.7.3-py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\wrapt-1.12.1-py3-none-any.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\lazy_object_proxy-1.6.0-cp39-cp39-win_amd64.whl" "C:\Users\RhinoComputeUser\AppData\Local\Temp\2\colorama-0.4.4-py2.py3-none-any.whl"
Error 07/15/2024 12:51:09 [RhinoCode] Process exited with code 1
Error 07/15/2024 12:51:09 [RhinoCode] Error Initializing Python | Error deploying package "pylint-2.10.2-py3-none-any.whl" | C:\Users\RhinoComputeUser\.rhinocode\py39-rh8\python.exe: No module named pip
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.DeployPackages(CPythonStartupSteps startup)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.<>c__DisplayClass109_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()
Error 07/15/2024 12:51:09 [RhinoCode] [CPY001] Runtime failed to initialize (Python 3.9.10 (mcneel.pythonnet.python))
Error deploying package "pylint-2.10.2-py3-none-any.whl" | C:\Users\RhinoComputeUser\.rhinocode\py39-rh8\python.exe: No module named pip
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.DeployPackages(CPythonStartupSteps startup)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.<>c__DisplayClass109_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()
Info 07/15/2024 12:51:09 [RhinoCode] Added Python 3.9.10 (mcneel.pythonnet.python) search path: C:\Users\RhinoComputeUser\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 07/15/2024 12:51:09 [RhinoCode] Language Registered: Python 3.9.10 (mcneel.pythonnet.python)
Info 7/15/2024 12:51:23 PM [RhinoCode] Language Registered: IronPython 2.7.12 (mcneel.ironpython.python)
Info 7/15/2024 12:51:25 PM [RhinoCode] Added C# 9.0 (mcneel.roslyn.csharp) search path: C:\Users\RhinoComputeUser\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 7/15/2024 12:51:25 PM [RhinoCode] Language Registered: C# 9.0 (mcneel.roslyn.csharp)
Info 7/15/2024 12:51:25 PM [RhinoCode] Language Registered: Grasshopper 1.0 (mcneel.gh1.grasshopper)
Info 7/15/2024 12:51:25 PM [RhinoCode] Language Registered: Markdown 0.30.4 (mcneel.markdig.markdown)
Any idea how to deal with this issue? Any help would be appreciated… Thanks a lot!