Installing modules in CPython Python3

Hi all,

Do you know what is the recommended method for installing Python modules from within the Rhino or Gh environment?

A few things I tried:

  1. I wanted to access a python terminal and just type pip isntall but I can’t find a editable python terminal from Rhino or Grasshopper enviroment. I can only read from terminal, but I can’t input anything.
  2. I thought I would use a subprocess call, but it didn’t work to well…
    It opened a new Rhino process with the following error message.

image
image

1 Like

I have found something like this from this comment

Did you include a line

# r: numpy

before you do

import numpy
1 Like