I’m trying to use the numpy module in some scripts and I can’t figure out how to import it. I have Python3.3 installed in the normal C:\Python33\ directory and numpy is installed in C:\Python33\Lib\site-packages by default; I tried adding the C:\Python33\Lib\ directory to my search path in the python editor (because the Iron Python libs seem to have the ‘same’ search path) and when i print sys.path I get:
[‘C:\Temp’, ‘C:\Program Files\Rhinoceros 5.0 (64-bit)\Plug-ins\IronPython\Lib’, ‘C:\Users\bertram\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib’, ‘C:\Users\bertram\AppData\Roaming\McNeel\Rhinoceros\5.0\scripts’, ‘C:\Python33\Lib’]
so it’s clearly acknowledging that I’m trying to do this.
I should add that I’m getting the “no module named numpy” message from the interpreter when I import numpy
If anyone could give me a bit of an overview regarding importing 3rd party modules it would be much appreciated.