Script Editor won't open and Python3 not working in Grasshopper

We have the following issue.
We have Rhino 8 and Rhino WIP (9.0.26027.12305) installed.
When placing a python component on an empty canvas in Grasshopper we get this error:


“An exception was thrown during a solution”
When clicking ok the component looks like this

Note that this works perfectly in Rhino 8.

We tried opening the script editor and got this message in the command line:

_-ScriptEditor
Select Option ( Edit  Run  Open  Test ): _Edit
Error opening script editor form | System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at Rhino.Runtime.Code.Serialization.Json.JsonStreamReader.ReadJson(String json)
   at Rhino.Runtime.Code.Serialization.Json.JsonStreamReader..ctor(String json, JsonSerializerOptions options)
   at Rhino.Runtime.Code.Serialization.Json.JsonStream.GetReader(String json, JsonSerializerOptions options)
   at RhinoCodeEditor.Aspects.MainEditorState`1.TryFindLegacy(JsonStreamReader& reader, PersistentConfigsSchema& schema)
   at RhinoCodeEditor.Aspects.MainEditorState`1.TryLoadAsync(TEditor editor)
   at RhinoCodePlugin.Commands.ScriptEditorCommand.TryOpenEditorFormAsync(Form owner)
 

Note that if we use the EditPythonScript command we get to the python script editor just fine, and python works there as expected.

What we tried:
Uninstall Rhino WIP and reinstall. Issue persists.
Restart computer. Issue persists
Remove Grassshopper components both via the compnents folder and via the packagemanager. Issue persists.

This is only on a single computer.
Here is the SystemInfo from a computer where it works.

Rhino 9 SR0 2026-1-27 (Rhino WIP, 9.0.26027.12305, Git hash:master @ 5f15e63747872f59c771ecf3d824aa18e045777a)
License type: Commercial, build 2026-01-27
License details: Cloud Zoo
Expires on: 2026-03-13

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 32GB)
.NET 9.0.3

Computer platform: LAPTOP  - Plugged in [99% battery remaining]

Hybrid graphics configuration using DirectX
  Primary display: NVIDIA RTX 2000 Ada Generation Laptop GPU (NVidia) Memory: 8GB, Driver date: 10-12-2025 (M-D-Y).
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Laptop's primary display device

Secondary graphics devices.
  Intel(R) UHD Graphics (Intel) Memory: 2GB, Driver date: 9-12-2025 (M-D-Y).
    > Integrated graphics device with 4 adapter port(s)
        - Windows Main Display is laptop's integrated screen or built-in port

DirectX Settings
  Safe mode: Off

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp	"Commands"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp	"UpdatesAndStatistics"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp	"MeshCommands"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp	"SectionTools"	


And here is the system info for the computer where it DOESN’T work

Rhino 9 SR0 2026-1-27 (Rhino WIP, 9.0.26027.12305, Git hash:master @ 5f15e63747872f59c771ecf3d824aa18e045777a)
License type: Commercial, build 2026-01-27
License details: Cloud Zoo
Expires on: 2026-03-13

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 64GB)
.NET 9.0.1

Computer platform: LAPTOP  - Plugged in [100% battery remaining]

Hybrid graphics configuration using DirectX
  Primary display: NVIDIA RTX 2000 Ada Generation Laptop GPU (NVidia) Memory: 8GB, Driver date: 10-12-2025 (M-D-Y).
    > Integrated accelerated graphics device (shares primary device ports)
        - Laptop's primary display device

Secondary graphics devices.
  Intel(R) Arc(TM) Pro Graphics (Intel) Memory: 2GB, Driver date: 2-26-2025 (M-D-Y).
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Windows Main Display is laptop's integrated screen or built-in port
        - Secondary monitor attached to adapter port #1

DirectX Settings
  Safe mode: Off

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp	"Commands"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp	"UpdatesAndStatistics"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp	"MeshCommands"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	9.0.26027.12305
  C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp	"SectionTools"	


The system info was pulled before deleting grasshopper plugins

Hi Timo,

Lets completely reset the python environment by closing Rhino and deleting %HOMEPATH%\.rhinocode and restart Rhino

  • Run ScriptEditor command and let it initialize languages
  • Run RhinoCodeLogs, save the logs into a text file