Hello Everyone,
I am trying to run python scripts on Mac against Rhino files and nothing works.
It only might work if I am using builtin editor and run lines there (and execute them there).
I don’t understand cannot find the location of rhinoscriptsyntax package
as at it is my understanding it would be foundation of all it to import this package
I am however getting:
import rhinoscriptsyntax as rs
ModuleNotFoundError: No module named ‘rhinoscriptsyntax’
I am getting this error even trying to run python script located:
/Users//Library/Application Support/McNeel/Rhinoceros/Scripts/samples
folder.
the same story if I run python script from:
/Users//Library/Application Support/McNeel/Rhinoceros/7.0/scripts/samples
python UseModule.py
Traceback (most recent call last):
File “/Users//Library/Application Support/McNeel/Rhinoceros/7.0/scripts/samples/UseModule.py”, line 3, in
import CircleFromLength
File “/Users//Library/Application Support/McNeel/Rhinoceros/7.0/scripts/samples/CircleFromLength.py”, line 2, in
import rhinoscriptsyntax as rs
ModuleNotFoundError: No module named ‘rhinoscriptsyntax’
How do I run python script from outside of Rhino so it could find rhinoscriptsyntax package?