
With the conda virtual environment from above, you would need to run conda activate rhinoremote in the command prompt.) pip install gh-python-remote -upgrade (If you are using a virtual environment, remember to activate it first. Install gh-python-remote:įrom the Windows command prompt, or Mac terminal (or the special Anaconda, or Python prompt if pip is not in your path by default), run: On Rhino 5, drop it on the Grasshopper canvas at least once before continuing.


On Rhino 6 and 7, it is already installed. Version 5 and 6 on Windows should work, but are not supported. Version 7 is supported on Windows and Mac. This will create a new virtual environment named rhinoremote, and install numpy and scipy in it. Open the Windows command prompt, or Mac terminal (or the Anaconda prompt if you chose not to add conda to your PATH during insallation)Ĭonda create -name rhinoremote python = 2.7 numpy scipy If you use Anaconda or Miniconda, creating a virtual environment is easy. Isolate dependencies for each project by creating a new virtual environment. It is highly recommended to use a conda- or brew -based Python. On Mac, the python distributed with the OS is outdated and difficult to use by the end-user. If you want to be able to name virtual environments in gh-python-remote by their conda name, select “Add conda to my PATH” when prompted during Anaconda’s installation. If you already have Anaconda installed with Python 3, you do not need to reinstall it, you can create a virtual environment as explained below. Gh-python-remote was developed with the Anaconda and Miniconda distributions in mind, but any Python 2.7 distribution works. Install the software dependencies:īefore installing gh-python-remote in Rhino 7, you will need to install Python 2, Rhino 7, and open Grasshopper in Rhino 6 at least once.īefore installing gh-python-remote in Rhino 6, you will need to install Python 2, Rhino 6, and open Grasshopper in Rhino 6 at least once.īefore installing gh-python-remote in Rhino 5, you will need to install Python 2, Rhino 5, Grasshopper and GHPython, and drop the GHPython component on the Grasshopper canvas in Rhino 5 at least once.

Compatible with Mac and Windows with Rhino 7. Requires a Python 2.7 installation, not compatible with Python 3. This lets you run any Python package directly from Grasshopper, including numpy and scipy!
