Rhinoscriptsyntax stopped working in gh

Hy all,
yesterday while trying to load rhinoscriptsyntax inside a python3 component in gh i got the silliest error. i Cant figure put ho to solve it, i have tried uninstalling rhino 8 and installing it back up, looked also at the search paths inside the scripting component and they all look like the should do. Also if y run a python2 component i dont get the same silly error.
Does any one have an idea on how to solve this?
Thanks in advance.
Rhino 8 SR18 2025-4-10

Have you made another module called string.py, that’s being imported preferentially over the actual core library’s string.py (or otherwise messed around with that)?

Hi James, thanks for the reply. No i havent made any new modules. And in the search paths i havent put any more modules to import.

@arquiaz Try deleting the .rhinocode\py39-rh8\site-rhinopython folder and lunch Rhino. When opening script editor this folder should be deployed again. See if that fixes the problem.

1 Like

Thanks Ehsan, just before reading your solution it occurred to me while reading this two posts ( Rhino - Script Editor Options ) & ( Rhino - Python Path Files ) That i needed to dive deep into the folders generated by rhino at some point. So i deleted the folder you suggest after removing rhino and installing it back again. And that did the trick!
Thanks for the help !

1 Like

Anytime

1 Like