Importing rhinoscriptsyntax breaking a a custom command

We have a custom python command written that within its logic imports rhinoscriptsyntax as rs.

We discovered that if you have the python script editor open, and call import rhinoscriptsyntax as rs from there, and then try and use the python command that also has that import line, it throws an error saying it can’t find the python module anymore. Would anyone be able to explain why this is, or how to get around it?
This only seems to be an issue on mac. Windows doesn’t throw the error.


I can’t be of help on the Mac side, but I’m sure anyone who can, can help best if you share some code and instructional steps to repeat what happens on your side.