Python scripts on Mac

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
the same story if I run python script from:
/Users//Library/Application Support/McNeel/Rhinoceros/7.0/scripts/samples
Traceback (most recent call last):
File “/Users//Library/Application Support/McNeel/Rhinoceros/7.0/scripts/samples/”, line 3, in
import CircleFromLength
File “/Users//Library/Application Support/McNeel/Rhinoceros/7.0/scripts/samples/”, 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?

Yes, that’s how it’s supposed to be used. If you’re looking to use Rhino specific features in CPython outside of Rhino, you can look into Rhino Compute and/or Hops.

It’s located in /Applications/Rhino on macOS, but that won’t do you any good.