For some reason, every time I try to add the Python 3 component to my GH Canvas, Grasshopper hangs. I have restarted my laptop, I have restarted Rhino 8 (closed all other instances of Rhino 8 or Rhino 7). Would appreciate any help on this.
Hi Pragya Gupta,
Please run SystemInfo in the Rhino command line and post the results.
Try opening the ScriptEditor in Rhino and resetting your python runtime.
@Japhy
Rhino 8 SR3 2024-1-9 (Rhino 8, 8.3.24009.15001, Git hash:master @ 3541fa287a013b0f17849f0740f1e43a44031bfc)
License type: Commercial, build 2024-01-09
License details: LAN Zoo Network Node
Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 64Gb)
.NET 7.0.20
Computer platform: LAPTOP - Plugged in [100% battery remaining]
Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 2-18-2022 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptopâs integrated screen or built-in port
- Secondary monitor attached to adapter port #1
Primary OpenGL: NVIDIA Quadro T2000 (NVidia) Memory: 4GB, Driver date: 10-13-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 472.39
> Integrated accelerated graphics device (shares primary device ports)
- Video pass-through to primary display device
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPUâs maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 10-13-2021
Driver Version: 30.0.14.7239
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 4 GB
Rhino plugins that do not ship with Rhino
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V6\VRayForRhino.rhp âV-Ray for Rhinoâ
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp âCommandsâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp âRenderer Development Kitâ
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp âAnimationToolsâ
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp âRhino Renderâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp âRDK_EtoUIâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp âSnapshotsâ
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp âMeshCommandsâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp âIronPythonâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp âRhinoCyclesâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp âGrasshopperâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp âRhinoCodePluginâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp âToolbarsâ 8.3.24009.15001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp â3Dconnexion 3D Mouseâ
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp âDisplacementâ
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp âSectionToolsâ
@Japhy - I reset Python 3 Runtime but still having the same issue.
You are on Rhino 8.3, there have been a lot of improvements to the script editor, please update to our latest release (8.9) and try again. Thanks
After a failure, use the Rhinocodelogs
command and send us the result. This should show the detailed errors on the Python engine.
@scottd @Japhy - reinstalling the newer Rhino 8 release solved this issue. But now I have another. I want to use Pandas. Hereâs what I have done so far:
I used the Python 3 Script component
Went to Install Package and tried to install Pandas here:
I have pandas installed in general:
Then I tried a basic script:
Which gives me this error:
Error importing pandas: partially initialized module âpandasâ has no attribute â_pandas_datetime_CAPIâ (most likely due to a circular import)
What am I doing wrong?
The requirement should not be in there twice at the header of the script.
But mostly this is a time date and local problem addressed in this thread:
Sending the code logs with Advance logger in tools int he script editor can verify this.
I find setting the local early will help.
@scottd - still having the same issue
Here are the logs:
Logs hidden by admin for clarity
Info 07/03/2024 23:44:33 [RhinoCode] Language Registered: Plain Text 1.0 (rhinocode.builtin.text)
Info 07/03/2024 23:44:33 [RhinoCode] Language Registered: JSON 1.0 (rhinocode.builtin.json)
Info 07/03/2024 23:44:33 [RhinoCode] Storage Site Registered: Local Drive (mcneel.eto.file)
Info 07/03/2024 23:44:33 [RhinoCode] Storage Site Registered: Rhino Files (mcneel.rhinoFiles.file)
Info 07/03/2024 23:44:33 [RhinoCode] Storage Site Registered: Web (mcneel.eto.http)
Info 07/03/2024 23:44:33 [RhinoCode] Rhino3D Initialized on Windows - NETCoreApp
Info 07/03/2024 23:44:33 [RhinoCode] Platform Registered: Rhinoceros 3D @ 8.8.24170.13001 (mcneel.rhino3d.rhino)
Info 07/03/2024 23:44:33 [RhinoCode] Operating System: Microsoft Windows NT 10.0.19045.0
Info 07/03/2024 23:44:33 [RhinoCode] RhinoCode server starting on \.\pipe\rhinocode_remotepipe_15312
Info 07/03/2024 23:45:16 [RhinoCode] Language Loader Registered: mcneel.pythonnet.python@3.*
Info 07/03/2024 23:45:16 [RhinoCode] Language Loader Registered: mcneel.ironpython.python@2.*
Info 07/03/2024 23:45:16 [RhinoCode] Language Loader Registered: mcneel.roslyn.csharp@9.*
Info 07/03/2024 23:45:16 [RhinoCode] Language Loader Registered: mcneel.gh1.grasshopper@1.*
Info 07/03/2024 23:45:16 [RhinoCode] Language Loader Registered: mcneel.markdig.markdown@0.*
Info 07/03/2024 23:45:16 [RhinoCode] Using existing runtime: CPython 3.9.10/43 (x64)
Info 07/03/2024 23:45:16 [RhinoCode] Initializing CPython 3.9.10/43 runtime
Info 07/03/2024 23:45:16 [RhinoCode] Deploying python packages
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âsite-interop.zipâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âutils.zipâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âpylint-2.10.2-py3-none-any.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âpyflakes-2.4.0-py2.py3-none-any.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âpycodestyle-2.8.0-py2.py3-none-any.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âjedi-0.19.2-py2.py3-none-any.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âblack-21.8b0-py3-none-any.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âpywin32-302-cp39-cp39-win_amd64.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Deploying package from âpsutil-5.9.1-cp39-cp39-win_amd64.whlâ
Info 07/03/2024 23:45:16 [RhinoCode] Saving CPython runtime configs
Info 07/03/2024 23:45:16 [RhinoCode] PYTHONHOME: \?\C:\Users\PGupta.rhinocode\py39-rh8
Info 07/03/2024 23:45:16 [RhinoCode] PYTHONPATH:
Info 07/03/2024 23:45:16 [RhinoCode] Loading CPython engine from C:\Users\PGupta.rhinocode\py39-rh8\McNeel.Python39.Runtime.dll
Info 07/03/2024 23:45:16 [RhinoCode] Python default locale is âen_US.cp1252â
Info 07/03/2024 23:45:16 [RhinoCode] Python current locale is âEnglish_United States.1252â
Info 07/03/2024 23:45:16 [RhinoCode] Adding search path C:\Users\PGupta.rhinocode\py39-rh8\site-support\win32 (from C:\Users\PGupta.rhinocode\py39-rh8\site-support\pywin32.pth)
Info 07/03/2024 23:45:16 [RhinoCode] Adding search path C:\Users\PGupta.rhinocode\py39-rh8\lib\site-packages (from C:\Users\PGupta.rhinocode\py39-rh8\lib\site-packages\distutils-precedence.pth)
Info 07/03/2024 23:45:16 [RhinoCode] Adding search path C:\Users\PGupta.rhinocode\py39-rh8\site-support\win32\lib (from C:\Users\PGupta.rhinocode\py39-rh8\site-support\pywin32.pth)
Info 07/03/2024 23:45:16 [RhinoCode] Adding search path C:\Users\PGupta.rhinocode\py39-rh8\site-support\Pythonwin (from C:\Users\PGupta.rhinocode\py39-rh8\site-support\pywin32.pth)
Info 07/03/2024 23:45:16 [RhinoCode] Adding search path C:\Users\PGupta.rhinocode\py39-rh8\site-support (from C:\Users\PGupta.rhinocode\py39-rh8\site-support\pywin32.pth)
Info 07/03/2024 23:45:16 [RhinoCode] Running process: C:\Users\PGupta.rhinocode\py39-rh8\python.exe -s -m pip --disable-pip-version-check list --format freeze
Info 07/03/2024 23:45:16 [RhinoCode] Running process: C:\Users\PGupta.rhinocode\py39-rh8\python.exe -s -m pip --disable-pip-version-check list --path âC:\Users\PGupta.rhinocode\py39-rh8\site-envs\default-Dar5wr+Uâ --format freeze
Info 07/03/2024 23:45:16 [RhinoCode] Building stubs for platform âRhinoceros 3D @ 8.8.24170.13001 (mcneel.rhino3d.rhino)â references
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Threading.Tasks.Parallel, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Windows.Forms, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Drawing.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Drawing.Common, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Running process: C:\Users\PGupta.rhinocode\py39-rh8\python.exe -s -m pip --disable-pip-version-check list --path âC:\Users\PGupta.rhinocode\py39-rh8\site-supportâ --format freeze
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Eto, Version=2.8.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Eto, Version=2.8.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for RhinoCommon, Version=8.8.24170.13001
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Rhino.UI, Version=8.8.24170.13001
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Grasshopper, Version=8.8.24170.13001
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for GH_IO, Version=8.8.24170.13001
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Private.CoreLib, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.InteropServices, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Text.Encoding.CodePages, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Loader, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for mscorlib, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Collections, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Collections.Concurrent, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Threading, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.Win32.SystemEvents, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.TraceSource, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Drawing, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Drawing.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xaml, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ComponentModel.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Private.Uri, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Drawing.Common, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Extensions, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.Debug, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.CompilerServices.VisualC, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.Win32.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Collections.NonGeneric, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ObjectModel, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Windows.Forms, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Threading.Thread, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Windows.Forms.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Collections.Specialized, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Configuration.ConfigurationManager, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.Process, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Memory, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xml.ReaderWriter, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Private.Xml, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.WebClient, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ComponentModel.EventBasedAsync, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Text.Encoding.Extensions, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ComponentModel.TypeConverter, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.Win32.Registry, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Linq, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Collections.Immutable, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.FileSystem.Watcher, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Threading.Overlapped, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Core, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ComponentModel, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Linq.Expressions, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.Packaging, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Requests, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.WebHeaderCollection, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Threading.ThreadPool, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Windows.Extensions, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Text.RegularExpressions, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Numerics.Vectors, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Resources.Extensions, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Serialization, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Serialization.Xml, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Private.DataContractSerialization, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.StackTrace, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Reflection.Metadata, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Reflection.Emit.Lightweight, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Reflection.Emit.ILGeneration, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.Cryptography, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Reflection.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xml, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xml.XmlSerializer, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Serialization.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Serialization.Formatters, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.MemoryMappedFiles, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.Pipes, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.AccessControl, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.Principal.Windows, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.Cryptography.ProtectedData, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Numerics, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Numerics, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Data, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Data.Common, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Http, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ServiceModel, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ServiceModel.Syndication, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.Tracing, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.WebProxy, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.DiagnosticSource, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Security, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.ServicePoint, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Quic, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Sockets, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.NameResolution, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.Claims, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ServiceModel.Http, Version=4.9.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Private.ServiceModel, Version=4.9.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ServiceModel.Primitives, Version=4.9.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Reflection.DispatchProxy, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Reflection.Emit, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Linq.Queryable, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.EventLog, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.FileVersionInfo, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Web, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Web.HttpUtility, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Windows.Controls.Ribbon, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.VisualBasic, Version=10.1.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.VisualBasic.Core, Version=12.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ValueTuple, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.Scripting, Version=1.3.1.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.CodeDom, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.Dynamic, Version=1.3.1.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Resources.ResourceManager, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.FileSystem, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.InteropServices.RuntimeInformation, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Console, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.Contracts, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.TextWriterTraceListener, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.Compression.Brotli, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.Compression, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.Compression.ZipFile, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.FileSystem.DriveInfo, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.IO.IsolatedStorage, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Linq.Parallel, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.HttpListener, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Mail, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.NetworkInformation, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.Ping, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.WebSockets.Client, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Net.WebSockets, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Resources.Writer, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Serialization.Json, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Threading.Tasks.Parallel, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Transactions.Local, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xml.XDocument, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Private.Xml.Linq, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xml.XPath.XDocument, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Xml.XPath, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.CSharp, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.VisualBasic.Forms, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Text.Json, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Text.Encodings.Web, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Runtime.Intrinsics, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.CodeAnalysis.CSharp, Version=4.6.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.CodeAnalysis, Version=4.6.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.CodeAnalysis.VisualBasic, Version=4.6.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ComponentModel.DataAnnotations, Version=4.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.ComponentModel.Annotations, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Diagnostics.Tools, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.Cryptography.Primitives, Version=7.0.0.0
Info 07/03/2024 23:45:16 [RhinoCode] Stubs already exist for System.Security.Cryptography.Algorithms, Version=7.0.0.0
Info 07/03/2024 23:45:17 [RhinoCode] Starting up python language server
Info 07/03/2024 23:45:17 [RhinoCode] Running async process: C:\Users\PGupta.rhinocode\py39-rh8\python.exe utils\pyminilsp_server.py
Info 07/03/2024 23:45:17 [RhinoCode] Preparing python auto-completion cache
Info 07/03/2024 23:45:17 [RhinoCode] Added Python 3.9.10 (mcneel.pythonnet.python) search path: C:\Users\PGupta\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 07/03/2024 23:45:17 [RhinoCode] Language Registered: Python 3.9.10 (mcneel.pythonnet.python)
Info 07/03/2024 23:45:18 [RhinoCode] Begin editing Python 3 Script (bf07962d-4fce-4a67-a42e-f6a942ca7d2a)
Info 07/03/2024 23:45:18 [RhinoCode] Parsing configs schema âhttps://files.mcneel.com/schemas/rhinocode/editor.schema.v1.jsonâ in C:\Users\PGupta.rhinocode\editor.json
Info 07/03/2024 23:45:18 [RhinoCode] Using existing runtime: IronPython 2.7.12/3 (x64)
Info 07/03/2024 23:45:18 [RhinoCode] Loading IronPython 2.7.12/3 runtime
Info 07/03/2024 23:45:18 [RhinoCode] Stubs already exist for System.Diagnostics.PerformanceCounter, Version=7.0.0.0
Info 07/03/2024 23:45:18 [RhinoCode] Stubs already exist for System.Security.Permissions, Version=7.0.0.0
Info 07/03/2024 23:45:18 [RhinoCode] Stubs already exist for System.IO.Ports, Version=7.0.0.0
Info 07/03/2024 23:45:18 [RhinoCode] Stubs already exist for System.Threading.AccessControl, Version=7.0.0.0
Info 07/03/2024 23:45:18 [RhinoCode] Added IronPython 2.7.12 (mcneel.ironpython.python) search path: C:\Users\PGupta\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 07/03/2024 23:45:18 [RhinoCode] Language Registered: IronPython 2.7.12 (mcneel.ironpython.python)
Info 07/03/2024 23:45:18 [RhinoCode] Added C# 9.0 (mcneel.roslyn.csharp) search path: C:\Users\PGupta\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 07/03/2024 23:45:18 [RhinoCode] Language Registered: C# 9.0 (mcneel.roslyn.csharp)
Info 07/03/2024 23:45:18 [RhinoCode] Language Registered: Grasshopper 1.0 (mcneel.gh1.grasshopper)
Info 07/03/2024 23:45:18 [RhinoCode] Language Registered: Markdown 0.30.4 (mcneel.markdig.markdown)
Info 07/03/2024 23:45:19 [RhinoCode] Stubs already exist for System.Xml.Linq, Version=4.0.0.0
Info 07/03/2024 23:46:25 [RhinoCode] Installing âlocaleâ
Info 07/03/2024 23:46:25 [RhinoCode] Uninstalling âlocaleâ
Info 07/03/2024 23:46:25 [RhinoCode] Running process: C:\Users\PGupta.rhinocode\py39-rh8\python.exe -s -m pip --disable-pip-version-check install --target âC:\Users\PGupta.rhinocode\py39-rh8\site-envs\default-Dar5wr+Uâ --progress-bar off --upgrade --no-warn-script-location --retries 0 --timeout 1 âlocaleâ
Error 07/03/2024 23:46:26 [RhinoCode] Process exited with code 1
Error 07/03/2024 23:46:26 [RhinoCode] pip install error |
ERROR: Could not find a version that satisfies the requirement locale (from versions: none)
ERROR: No matching distribution found for locale
Error 07/03/2024 23:46:26 [RhinoCode] Error installing package | Rhino.Runtime.Code.Environments.EnvironException: Could not find a version that satisfies the requirement locale (from versions: none)
at Rhino.Runtime.Code.Languages.PythonNet.CPythonEnviron.AddPackages(IEnumerable1 pkgSpecs, IProgress
1 progress)
at Rhino.Runtime.Code.Environments.Environ1.Rhino.Runtime.Code.Environments.IPackageEnviron.AddPackages(IEnumerable
1 pkgSpecs, IProgress`1 progress)
at RhinoCodeEditor.Editor.Dialogs.InstallPackageDialog.<>c__DisplayClass16_0.b__0()
In the link Scott posted was resolved by setting the local in the script. See the post with the Solution checkedâŚ
@pragyagupta171 I would appreciate if you can test this with the latest Rhino 8.9 (I see from the system report that yours was 8.3 at the time and we have done a lot of fixes since then)
I have had the same issue, which has been bothering me for a long time.
My system info see below:
Rhino 8 SR9 2024-7-12 (Rhino 8, 8.9.24194.18121, Git hash:master @ 785b9fde79bb684d22aab317998f7195a8c27c14)
License type: Commercial, build 2024-07-12
License details: Cloud Zoo
Windows 11 (10.0.26120 SR0.0) or greater (Physical RAM: 64GB)
.NET Framework 4.8.9256.0
Computer platform: LAPTOP - Plugged in [99% battery remaining]
Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 6-9-2021 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptopâs integrated screen or built-in port
- Secondary monitor attached to adapter port #1
Primary OpenGL: NVIDIA Quadro RTX 3000 with Max-Q Design (NVidia) Memory: 6GB, Driver date: 6-1-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 555.99
> Integrated accelerated graphics device with 4 adapter port(s)
- Video pass-through to primary display device
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPUâs maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 6-1-2024
Driver Version: 32.0.15.5599
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB
Rhino plugins that do not ship with Rhino
C:\Users\DELL\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\D5Conv (e0d5e210-02f6-4ee9-a2b0-1675e225d958)\0.12.0.0028\Rhino 8\D5Conv.rhp âD5 Sync for Rhinoâ
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp âCommandsâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp âRenderer Development Kitâ
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp âRhino Renderâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp âRDK_EtoUIâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp âSnapshotsâ
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp âMeshCommandsâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp âRhinoCyclesâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp âRhinoCodePluginâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp âToolbarsâ 8.9.24194.18121
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp â3Dconnexion 3D Mouseâ
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp âDisplacementâ
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp âSectionToolsâ