Hello!
I am in the process of learning how to use the CSI API within grasshopper, one of the ways is using python, at the time of placing a python component and start testing I realized that I had restricted the modification of the file:
So I started to try a couple of things that I found in the forum, such as changing the folder where python is initialized, repairing the installation, reinstalling rhino (deleting the appdata and runtime folders), I even downloaded a test version on another computer, where I had no problem to use the python component and install libraries, so I checked that the problem is in the company’s computer, and I assume that most likely it is something related to the IT department has some configuration that prevents access to any resource that allows the installation specifically to python, I attach the log:
Info 06/27/2025 17:45:50 [RhinoCode] Storage Site Registered: Local Drive (mcneel.eto.file)
Info 06/27/2025 17:45:50 [RhinoCode] Storage Site Registered: Rhino Files (mcneel.rhinoFiles.file)
Info 06/27/2025 17:45:50 [RhinoCode] Storage Site Registered: Web (mcneel.console.http)
Info 06/27/2025 17:45:50 [RhinoCode] Rhino3D Initialized on Windows - NETCoreApp
Info 06/27/2025 17:45:50 [RhinoCode] Platform Registered: Rhinoceros 3D @ 8.20.25157.13001 (mcneel.rhino3d.rhino)
Info 06/27/2025 17:45:50 [RhinoCode] Storage Site Registered: Rhino3D Project (mcneel.rhino3d.project)
Info 06/27/2025 17:45:50 [RhinoCode] Operating System: Microsoft Windows NT 10.0.19045.0
Info 06/27/2025 17:45:50 [RhinoCode] RhinoCode server starting on \\.\pipe\rhinocode_remotepipe_27368
Info 06/27/2025 17:45:57 [RhinoCode] Language Registered: Plain Text 1.0 (rhinocode.builtin.text)
Info 06/27/2025 17:45:57 [RhinoCode] Language Registered: JSON 1.0 (rhinocode.builtin.json)
Info 06/27/2025 17:45:57 [RhinoCode] Language Registered: Yaml 1.0 (rhinocode.builtin.yaml)
Info 06/27/2025 17:45:57 [RhinoCode] Language Registered: Git DotFile 1.0 (rhinocode.builtin.gitDotFile)
Info 06/27/2025 17:45:57 [RhinoCode] Language Loader Registered: mcneel.pythonnet.python@3.*
Info 06/27/2025 17:45:57 [RhinoCode] Language Loader Registered: mcneel.ironpython.python@2.*
Info 06/27/2025 17:45:57 [RhinoCode] Language Loader Registered: mcneel.roslyn.csharp@9.*
Info 06/27/2025 17:45:57 [RhinoCode] Language Loader Registered: mcneel.gh1.grasshopper@1.*
Info 06/27/2025 17:45:57 [RhinoCode] Language Loader Registered: mcneel.markdig.markdown@0.*
Info 06/27/2025 17:45:57 [RhinoCode] Language Registered: Python 3.9.10 (mcneel.pythonnet.python)
Info 06/27/2025 17:45:57 [RhinoCode] Initializing CPython 3.9.10/43 runtime
Info 06/27/2025 17:46:08 [RhinoCode] Configuring runtime@py39-rh8 for the first time on X64
Info 06/27/2025 17:46:08 [RhinoCode] Deploying CPython 3.9.10/43 runtime
Info 06/27/2025 17:46:08 [RhinoCode] Clearing exiting runtime
Info 06/27/2025 17:46:08 [RhinoCode] Successfully uninstalled existing runtime at C:\Users\octavioa\Documents\Rhino_GH\py39-rh8
Info 06/27/2025 17:46:20 [RhinoCode] Installing pip (get-pip)
Info 06/27/2025 17:46:20 [RhinoCode] Running process: C:\Users\octavioa\Documents\Rhino_GH\py39-rh8\python.exe -I get-pip.py --no-warn-script-location pip setuptools wheel
Error 06/27/2025 17:46:41 [RhinoCode] Process exited with code 1
Error 06/27/2025 17:46:41 [RhinoCode] Failed to install latest pip | Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) - skipping
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/ERROR: Could not find a version that satisfies the requirement pip (from versions: none)ERROR: No matching distribution found for pip
Info 06/27/2025 17:46:41 [RhinoCode] Installing pip (embedded)
Info 06/27/2025 17:46:41 [RhinoCode] Running process: C:\Users\octavioa\Documents\Rhino_GH\py39-rh8\python.exe -I get-pip.py --no-warn-script-location pip setuptools wheel pip-24.2-py3-none-any.whl setuptools-75.1.0-py3-none-any.whl wheel-0.44.0-py3-none-any.whl
Error 06/27/2025 17:46:53 [RhinoCode] Process exited with code 1
Error 06/27/2025 17:46:53 [RhinoCode] Failed to install pip from wheels | Processing c:\users\octavioa\documents\rhino_gh\py39-rh8\pip-24.2-py3-none-any.whl
Processing c:\users\octavioa\documents\rhino_gh\py39-rh8\setuptools-75.1.0-py3-none-any.whl
Processing c:\users\octavioa\documents\rhino_gh\py39-rh8\wheel-0.44.0-py3-none-any.whl
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) - skipping
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /simple/pip/ERROR: Could not find a version that satisfies the requirement pip (from versions: none)ERROR: No matching distribution found for pip
Error 06/27/2025 17:46:53 [RhinoCode] Error Initializing Python | Error deploying CPython runtime | Failed to install pip (embedded)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.DeployCPythonRuntime(CPythonStartupSteps startup)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonRuntime.<>c__DisplayClass117_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 06/27/2025 17:46:53 [RhinoCode] Parsing component schema "https://files.mcneel.com/schemas/rhinocode/component.schema.v1.json" in C:\Users\octavioa\Documents\Rhino_GH\component.json
Info 06/27/2025 17:47:15 [RhinoCode] Using existing runtime: IronPython 2.7.12/3 (x64)
Info 06/27/2025 17:47:15 [RhinoCode] Loading IronPython 2.7.12/3 runtime
Info 06/27/2025 17:47:15 [RhinoCode] Parsing configs schema "https://files.mcneel.com/schemas/rhinocode/editor.schema.v1.json" in C:\Users\octavioa\Documents\Rhino_GH\editor.json
Info 06/27/2025 17:47:15 [RhinoCode] Setting ironpython locale to C
Warn 06/27/2025 17:47:15 [RhinoCode] updated ironpython locale to 'C'
Info 06/27/2025 17:47:15 [RhinoCode] Added IronPython 2.7.12 (mcneel.ironpython.python) search path: C:\Users\octavioa\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 06/27/2025 17:47:15 [RhinoCode] Language Registered: IronPython 2.7.12 (mcneel.ironpython.python)
Info 06/27/2025 17:47:15 [RhinoCode] Installing microsoft.netframework.referenceassemblies.net48.1.0.3.nupkg
Info 06/27/2025 17:47:16 [RhinoCode] Setting roslyn culture to
Info 06/27/2025 17:47:16 [RhinoCode] Language Registered: C# 9.0 (mcneel.roslyn.csharp)
Info 06/27/2025 17:47:16 [RhinoCode] Language Registered: Grasshopper 1.0 (mcneel.gh1.grasshopper)
Info 06/27/2025 17:47:16 [RhinoCode] Language Registered: Markdown 0.30.4 (mcneel.markdig.markdown)
Info 06/27/2025 17:47:28 [RhinoCode] Begin editing Py3 (910d8068-cf32-4373-9d50-bfd584d01cc3) as text
In case that is the case, could you help me to confirm that it is indeed that? to try to bring up the situation to the IT department and see if somehow they can allow it, and in case they do not approve it, is there any different way to be able to make the installation?
Thank you very much for your time and assistance!