I’m new to python. Can you guide me on how to install numpy library for python in grasshopper
Does this guide help? Rhino - ScriptEditor Command - importing Python Packages.
I had managed to do this on Rhino 8 but now I have another PC and somehow, the thing that worked once, isn’t working anymore. I had tried running this command in the folder ‘C:\users\\.rhinocode\py313-rh9\’
python -m pip install numpy
It installs, but only to the global Python installation on my PC, that is on windows PATH.
How can I have it installed to the version used by Rhino9 WIP?
I found it out. You have to run explicitly the python.exe on the right path. Instead of running just ‘python.exe’, you need to run 'c:\users\user\.rhinocode\py313-r9\python.exe -m pip install <module_name>