Using rhinoinside with python


I have installed Rhino 7 WIP and rhinoinside using pip install.
The first time I try to run the sample script shown on github I get the following error:

“FileNotFoundException: Unable to find assembly ‘RhinoCommon’.
at Python.Runtime.CLRModule.AddReference(String name)”

The second time I try to run the same script I get:

“ModuleNotFoundError: No module named ‘Rhino’”

Any ideas on what is causing this and how to fix it?

RhinoInside is probably not doing a good job of finding the Rhino 7 WIP on your computer. Where is Rhino 7 installed? I’m looking for the full path to rhino.exe

I have installed Rhino 7 WIP on this path:
“C:\Program Files\Rhino 7 WIP”
I have tried to give the path explicitly.

import os
import rhinoinside
rhinoinside.load(os.path.join(os.environ[“ProgramFiles”], “Rhino 7 WIP”, “System”))
import System
import Rhino

The same error message still appears.

I just published a new version of the rhinoinside package (0.5.0) to Try installing this new version to see if it works.


What are the current limitations of the python version? I am assuming that the .net versions are further along than the python implementation.



Hi guys,

I was experiencing the same problem.
Solved it using pathlib module (available in python 3).
The example below works for me:

from pathlib import Path
folder = Path("C:/Program Files/Rhino 7 WIP/System")

import rhinoinside

import System
import Rhino


1 Like

This shouldn’t be necessary. Are you using the latest version of the rhinoinside package?

Yes (version 0.5.0).
Downloaded it again this morning just to be sure.