I get the error “expected str, got bytes” on the Honeybee/Honeybee component when trying to run it using Rhino.Inside.Revit. It works fine just running it in Rhino 7 WIP. Also, I get an error message, including the same error “expected str, got bytes”, from a ghpython component in the DecodingSpaces Grasshopper-plugin when Grasshopper starts up inside Revit. Why can this be?
and thanks for posting the question at Ladybug Tools, too.
The error in the image above, from DecodingSpaces, didn’t appear when I first started to use Rhino.Inside.Revit, either. I think it started to appear maybe 2-3 months ago.
Just had the same problem and neither @parametricmonkey1’s solution nor running set_python_path.bat worked (although the latter actually added the correct paths to the xml files).
I managed to fix it by adding the path manually to the path options of Python Editor in Rhino.Inside Revit:
Start Rhino.Inside Revit
Open Python Editor from the tab and then go to ‘Tools > Options’
Add the correct path to the ‘Model Search Path’ area and that’s it