Import external python module to ghPython and execute with RhinoCompute

Hi,

I have a grasshopper script that is calling my custom python module, and it works fine in my local machine. However, when I try to execute this grasshopper file with RhinoCompute, I got an error saying that my module cannot be found.

'errors': ['Solution exception:No module named my_py_module: component "call_python" (e77ea801-395b-4c2e-af1b-58d17b288576)']}

How can I solve this error?

RhinoCompute is running on another computer. You would need to have your python module installed on that computer in a location that ghpython could find it.